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