Update git submodules
[LibreOffice.git] / external / zxing / coroutine.patch.0
blobc863ff948f88e8f10d7073a2ef5d95280e0bfb50
1 --- core/src/Generator.h
2 +++ core/src/Generator.h
3 @@ -26,7 +26,7 @@
4                         current_value = std::move(value);
5                         return {};
6                 }
7 -//             void return_value(T&& value) noexcept { current_value = std::move(value); }
8 +               void return_void() noexcept {}
9                 // Disallow co_await in generator coroutines.
10                 void await_transform() = delete;
11                 [[noreturn]] static void unhandled_exception() { throw; }