mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
don't forget to use the shitty variable
This commit is contained in:
parent
e03f53d4dc
commit
242990a706
|
@ -30,6 +30,7 @@ end
|
|||
for (int counter = 0; counter < 10 && loop_coroutine; ++counter) {
|
||||
// Call the coroutine, does the computation and then suspends
|
||||
int value = loop_coroutine();
|
||||
std::cout << "value is " << value << std::endl;
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
|
Loading…
Reference in New Issue
Block a user