diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2021-05-15 22:18:00 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2021-05-15 22:40:36 +0300 |
commit | 79c19c6a1c400b28f27ca6f44dd11e07ac43ec85 (patch) | |
tree | c934d0c0e2e2abd4fc85324a37d2e402d01a1200 /test/test_lib.cpp | |
parent | get rid of SafeInt (diff) | |
download | winapi-debug-79c19c6a1c400b28f27ca6f44dd11e07ac43ec85.tar.gz winapi-debug-79c19c6a1c400b28f27ca6f44dd11e07ac43ec85.zip |
switch from Boost.Nowide to winapi-utf8
Diffstat (limited to '')
-rw-r--r-- | test/test_lib.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/test_lib.cpp b/test/test_lib.cpp index ee02ffb..0c4bd27 100644 --- a/test/test_lib.cpp +++ b/test/test_lib.cpp @@ -7,7 +7,7 @@ #include <pdb/all.hpp> -#include <boost/nowide/iostream.hpp> +#include <iostream> // Prevent frame pointer omission (FPO) and/or inlining. #ifdef _MSC_VER @@ -20,7 +20,7 @@ namespace { void do_print_call_stack() { const auto dbghelp = pdb::DbgHelp::current_process(); const auto call_stack = pdb::CallStack::capture(); - call_stack.dump(boost::nowide::cout, dbghelp); + call_stack.dump(std::cout, dbghelp); } void do_throw_call_stack() { @@ -32,17 +32,17 @@ void do_throw_call_stack() { volatile int var = 42; void baz(F f) { - boost::nowide::cout << "baz " << pdb::format_address(reinterpret_cast<void*>(&baz)) << '\n'; + std::cout << "baz " << pdb::format_address(reinterpret_cast<void*>(&baz)) << '\n'; f(); } void bar(F f) { - boost::nowide::cout << "bar " << pdb::format_address(reinterpret_cast<void*>(&bar)) << '\n'; + std::cout << "bar " << pdb::format_address(reinterpret_cast<void*>(&bar)) << '\n'; baz(f); } void foo(F f) { - boost::nowide::cout << "foo " << pdb::format_address(reinterpret_cast<void*>(&foo)) << '\n'; + std::cout << "foo " << pdb::format_address(reinterpret_cast<void*>(&foo)) << '\n'; bar(f); } |