aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/utils/file.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/file.cpp')
-rw-r--r--src/utils/file.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/utils/file.cpp b/src/utils/file.cpp
index 3f37cfc..9584de3 100644
--- a/src/utils/file.cpp
+++ b/src/utils/file.cpp
@@ -5,7 +5,7 @@
#include <pdb/all.hpp>
-#include <boost/nowide/convert.hpp>
+#include <winapi/utf8.hpp>
#include <windows.h>
@@ -18,7 +18,7 @@ namespace pdb {
namespace file {
std::size_t get_size(const std::string& path) {
- const Handle handle{CreateFileW(boost::nowide::widen(path).c_str(),
+ const Handle handle{CreateFileW(winapi::widen(path).c_str(),
FILE_READ_ATTRIBUTES,
FILE_SHARE_READ,
NULL,
@@ -40,7 +40,7 @@ std::size_t get_size(const std::string& path) {
}
ID query_id(const std::string& path) {
- const Handle handle{CreateFileW(boost::nowide::widen(path).c_str(),
+ const Handle handle{CreateFileW(winapi::widen(path).c_str(),
FILE_READ_ATTRIBUTES,
FILE_SHARE_READ | FILE_SHARE_WRITE,
NULL,