Skip to content

Commit

Permalink
Fix missing namespace in stacktrace.qbk (#181)
Browse files Browse the repository at this point in the history
  • Loading branch information
meastp committed Sep 12, 2024
1 parent 23e1213 commit aa97b1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/stacktrace.qbk
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ int main() {
foo("test1");
bar("test2");
} catch (const std::exception& exc) {
boost::stacktrace::stacktrace trace = boost::stacktrace::from_current_exception(); // <---
boost::stacktrace::stacktrace trace = boost::stacktrace::stacktrace::from_current_exception(); // <---
std::cerr << "Caught exception: " << exc.what() << ", trace:\n" << trace;
}
}
Expand Down

0 comments on commit aa97b1a

Please sign in to comment.