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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user