2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Use internal section stack in Info::WrapWidget.

This commit is contained in:
John Preston
2017-10-03 14:05:58 +01:00
parent 525cde3498
commit 93c15e5ee6
63 changed files with 736 additions and 429 deletions

View File

@@ -534,8 +534,8 @@ inline void operator|(
lifetime_with_none &&lifetime) {
lifetime.alive_while.add(
std::move(value).start(
[](const Value&) {},
[](const Error&) {},
[] {},
[] {},
[] {}));
}
@@ -551,7 +551,7 @@ inline void operator|(
lifetime.alive_while.add(
std::move(value).start(
std::move(lifetime.next),
[](const Error&) {},
[] {},
[] {}));
}
@@ -566,7 +566,7 @@ inline void operator|(
lifetime_with_error<OnError> &&lifetime) {
lifetime.alive_while.add(
std::move(value).start(
[](const Value&) {},
[] {},
std::move(lifetime.error),
[] {}));
}
@@ -582,8 +582,8 @@ inline void operator|(
lifetime_with_done<OnDone> &&lifetime) {
lifetime.alive_while.add(
std::move(value).start(
[](const Value&) {},
[](const Error&) {},
[] {},
[] {},
std::move(lifetime.done)));
}
@@ -620,7 +620,7 @@ inline void operator|(
lifetime_with_error_done<OnError, OnDone> &&lifetime) {
lifetime.alive_while.add(
std::move(value).start(
[](const Value&) {},
[] {},
std::move(lifetime.error),
std::move(lifetime.done)));
}
@@ -640,7 +640,7 @@ inline void operator|(
lifetime.alive_while.add(
std::move(value).start(
std::move(lifetime.next),
[](const Error&) {},
[] {},
std::move(lifetime.done)));
}