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 /src/error.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 'src/error.cpp')
-rw-r--r-- | src/error.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/error.cpp b/src/error.cpp index 368feb7..00252e9 100644 --- a/src/error.cpp +++ b/src/error.cpp @@ -5,7 +5,7 @@ #include <pdb/all.hpp> -#include <boost/nowide/convert.hpp> +#include <winapi/utf8.hpp> #include <windows.h> @@ -49,7 +49,7 @@ std::string format_message(int code) { std::wstring msg{buf, len}; LocalFree(buf); - return boost::nowide::narrow(trim_trailing_newline(msg)); + return winapi::narrow(trim_trailing_newline(msg)); } } // namespace |