aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/test/test_lib.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--test/test_lib.cpp10
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);
}