Skip to content

Commit

Permalink
Fix definition of to_path
Browse files Browse the repository at this point in the history
  • Loading branch information
dschuff committed Aug 18, 2023
1 parent bf0bdcf commit e5c08bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/support/path.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
namespace wasm::Path {

#ifdef _WIN32
PathString to_path(const std::string& s) { return string_to_wstring(s); }
const PathString::value_type* to_path(const std::string& s) { return string_to_wstring(s); }

std::wstring string_to_wstring(const std::string& s) {
const char* inptr = s.data();
Expand Down

0 comments on commit e5c08bb

Please sign in to comment.