Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tests/test_util/executable_path.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ std::string get_executable_path() {
std::array<char, PATH_MAX> buffer{};
uint32_t size = buffer.size();
if (::_NSGetExecutablePath(buffer.data(), &size) == 0) {
return {buffer.data(), size};
return {buffer.data()};
}
throw std::system_error(std::make_error_code(std::errc::no_such_file_or_directory),
"Could not get executable path");
Expand Down
Loading