2
0
mirror of https://github.com/boostorg/context.git synced 2026-01-19 04:02:17 +00:00

fix return value in call/cc example

147
This commit is contained in:
Oliver Kowalke
2021-07-13 21:02:33 +02:00
parent 34efe627eb
commit 37b761f2b9

View File

@@ -38,7 +38,7 @@ int main() {
c = c.resume_with(
[](ctx::continuation && c){
throw my_exception(std::move( c), "abc");
return std::move( c);
return {};
});
std::cout << "main: done" << std::endl;