Skip to content

Commit

Permalink
Fix typo in documentation (fixes #158)
Browse files Browse the repository at this point in the history
  • Loading branch information
apolukhin committed Apr 1, 2024
1 parent a33e198 commit 351b03d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/stacktrace.qbk
Expand Up @@ -163,7 +163,7 @@ int main() {
foo("test1");
bar("test2");
} catch (const std::exception& exc) {
boost::stacktrace::stacktrace trace = std::stacktrace::from_current_exception(); // <---
boost::stacktrace::stacktrace trace = boost::stacktrace::from_current_exception(); // <---
std::cerr << "Caught exception: " << exc.what() << ", trace:\n" << trace;
}
}
Expand Down

0 comments on commit 351b03d

Please sign in to comment.