Skip to content

Commit 72e2f56

Browse files
committed
fix example backtrace
1 parent 18435f6 commit 72e2f56

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

example/fiber/backtrace.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
#include <libunwind.h>
1313

14-
#include <boost/context/continuation.hpp>
14+
#include <boost/context/fiber.hpp>
1515

1616
namespace ctx = boost::context;
1717

@@ -45,7 +45,7 @@ void foo() {
4545
bar();
4646
}
4747

48-
ctx::continuation f1( ctx::continuation && c) {
48+
ctx::fiber f1( ctx::fiber && c) {
4949
foo();
5050
return std::move( c);
5151
}

0 commit comments

Comments
 (0)