aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/utils/addr2name.cpp
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-05-15 22:18:00 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-05-15 22:40:36 +0300
commit79c19c6a1c400b28f27ca6f44dd11e07ac43ec85 (patch)
treec934d0c0e2e2abd4fc85324a37d2e402d01a1200 /utils/addr2name.cpp
parentget rid of SafeInt (diff)
downloadwinapi-debug-79c19c6a1c400b28f27ca6f44dd11e07ac43ec85.tar.gz
winapi-debug-79c19c6a1c400b28f27ca6f44dd11e07ac43ec85.zip
switch from Boost.Nowide to winapi-utf8
Diffstat (limited to 'utils/addr2name.cpp')
-rw-r--r--utils/addr2name.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/utils/addr2name.cpp b/utils/addr2name.cpp
index 710a2ff..acb992c 100644
--- a/utils/addr2name.cpp
+++ b/utils/addr2name.cpp
@@ -7,7 +7,6 @@
#include "pdb/all.hpp"
#include "pdb_descr.hpp"
-#include <boost/nowide/iostream.hpp>
#include <boost/program_options.hpp>
#include <exception>
@@ -58,7 +57,7 @@ std::string format_line_info(const pdb::LineInfo& line_info) {
}
void dump_error(const std::exception& e) {
- boost::nowide::cerr << "error: " << e.what() << '\n';
+ std::cerr << "error: " << e.what() << '\n';
}
void resolve_symbol(const pdb::Repo& repo, pdb::Address address, bool lines = false) {
@@ -78,10 +77,10 @@ void resolve_symbol(const pdb::Repo& repo, pdb::Address address, bool lines = fa
}
}
- boost::nowide::cout << msg.str() << '\n';
+ std::cout << msg.str() << '\n';
} catch (const std::exception& e) {
dump_error(e);
- boost::nowide::cout << pdb::format_address(address) << '\n';
+ std::cout << pdb::format_address(address) << '\n';
}
}