blob: c863ff948f88e8f10d7073a2ef5d95280e0bfb50 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
--- core/src/Generator.h
+++ core/src/Generator.h
@@ -26,7 +26,7 @@
current_value = std::move(value);
return {};
}
-// void return_value(T&& value) noexcept { current_value = std::move(value); }
+ void return_void() noexcept {}
// Disallow co_await in generator coroutines.
void await_transform() = delete;
[[noreturn]] static void unhandled_exception() { throw; }
|