From 351b03d5220510a1b6738cc378659b6d85c8a4da Mon Sep 17 00:00:00 2001 From: Antony Polukhin Date: Mon, 1 Apr 2024 12:17:55 +0300 Subject: [PATCH] Fix typo in documentation (fixes #158) --- doc/stacktrace.qbk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/stacktrace.qbk b/doc/stacktrace.qbk index d0fda13..2405dfc 100644 --- a/doc/stacktrace.qbk +++ b/doc/stacktrace.qbk @@ -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; } }