diff --git a/support/3rd_party/src/utils/path.cpp b/support/3rd_party/src/utils/path.cpp index 286e84e4..5f7e758a 100644 --- a/support/3rd_party/src/utils/path.cpp +++ b/support/3rd_party/src/utils/path.cpp @@ -72,7 +72,7 @@ auto absolute(std::string_view path) -> std::string { if (not abs_path.empty() && ::PathIsRelative(abs_path.c_str())) { std::string temp; temp.resize(MAX_PATH + 1); - abs_path = _fullpath(temp.data(), abs_path.data(), MAX_PATH); + abs_path = _fullpath(temp.data(), abs_path.c_str(), MAX_PATH); } #else // !defined(_WIN32) abs_path = resolve(finalize(abs_path));