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

fix example backtrace

This commit is contained in:
Oliver Kowalke
2018-03-21 08:21:13 +01:00
parent 18435f6d00
commit 72e2f565d3

View File

@@ -11,7 +11,7 @@
#include <libunwind.h>
#include <boost/context/continuation.hpp>
#include <boost/context/fiber.hpp>
namespace ctx = boost::context;
@@ -45,7 +45,7 @@ void foo() {
bar();
}
ctx::continuation f1( ctx::continuation && c) {
ctx::fiber f1( ctx::fiber && c) {
foo();
return std::move( c);
}