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 /utils/name2addr.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-- | utils/name2addr.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/utils/name2addr.cpp b/utils/name2addr.cpp index 4b83757..d0c4293 100644 --- a/utils/name2addr.cpp +++ b/utils/name2addr.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> @@ -39,16 +38,16 @@ public: }; 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, const std::string& name) { try { const auto address = repo.resolve_symbol(name).get_online_address(); - boost::nowide::cout << pdb::format_address(address) << '\n'; + std::cout << pdb::format_address(address) << '\n'; } catch (const std::exception& e) { dump_error(e); - boost::nowide::cout << name << '\n'; + std::cout << name << '\n'; } } |
