diff options
Diffstat (limited to '')
-rw-r--r-- | test/test_lib.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/test_lib.cpp b/test/test_lib.cpp index e361ea4..bdb7bbf 100644 --- a/test/test_lib.cpp +++ b/test/test_lib.cpp @@ -18,13 +18,13 @@ namespace test_ns { namespace { void do_print_call_stack() { - const auto dbghelp = pdb::DbgHelp::current_process(); - const auto call_stack = pdb::CallStack::capture(); + const auto dbghelp = winapi::DbgHelp::current_process(); + const auto call_stack = winapi::CallStack::capture(); call_stack.dump(std::cout, dbghelp); } void do_throw_call_stack() { - throw pdb::CallStack::capture(); + throw winapi::CallStack::capture(); } } // namespace @@ -32,17 +32,17 @@ void do_throw_call_stack() { volatile int var = 42; void baz(F f) { - std::cout << "baz " << pdb::format_address(reinterpret_cast<void*>(&baz)) << '\n'; + std::cout << "baz " << winapi::format_address(reinterpret_cast<void*>(&baz)) << '\n'; f(); } void bar(F f) { - std::cout << "bar " << pdb::format_address(reinterpret_cast<void*>(&bar)) << '\n'; + std::cout << "bar " << winapi::format_address(reinterpret_cast<void*>(&bar)) << '\n'; baz(f); } void foo(F f) { - std::cout << "foo " << pdb::format_address(reinterpret_cast<void*>(&foo)) << '\n'; + std::cout << "foo " << winapi::format_address(reinterpret_cast<void*>(&foo)) << '\n'; bar(f); } |