aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/symbol.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/symbol.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/symbol.cpp b/src/symbol.cpp
index 9f5e11d..eff9a03 100644
--- a/src/symbol.cpp
+++ b/src/symbol.cpp
@@ -5,7 +5,7 @@
#include <pdb/all.hpp>
-#include <boost/nowide/convert.hpp>
+#include <winapi/utf8.hpp>
#include <dbghelp.h>
#include <windows.h>
@@ -54,11 +54,10 @@ SymbolInfo::SymbolInfo(const Impl& impl) : SymbolInfo{} {
std::string SymbolInfo::get_name() const {
// SymFromAddrW, contrary to SymFromAddrA, seems to include the terminating
// null character in NameLen.
- return boost::nowide::narrow(get_impl().Name);
+ return winapi::narrow(get_impl().Name);
}
LineInfo::LineInfo(const Impl& impl)
- : file_path{boost::nowide::narrow(impl.FileName)},
- line_number{cast_line_number(impl.LineNumber)} {}
+ : file_path{winapi::narrow(impl.FileName)}, line_number{cast_line_number(impl.LineNumber)} {}
} // namespace pdb