fix asserts
This commit is contained in:
@@ -144,11 +144,12 @@ struct platform_ops {
|
|||||||
return ".\\repertory.exe " + args_joined;
|
return ".\\repertory.exe " + args_joined;
|
||||||
#else // !defined(_WIN32)
|
#else // !defined(_WIN32)
|
||||||
#if defined(__APPLE__)
|
#if defined(__APPLE__)
|
||||||
constexpr const char *kBin = "./repertory.app/Contents/MacOS/repertory ";
|
constexpr std::string_view repertory_bin =
|
||||||
|
"./repertory.app/Contents/MacOS/repertory ";
|
||||||
#else // !defined(__APPLE__)
|
#else // !defined(__APPLE__)
|
||||||
constexpr const char *kBin = "./repertory ";
|
constexpr std::string_view repertory_bin = "./repertory ";
|
||||||
#endif // defined(__APPLE__)
|
#endif // defined(__APPLE__)
|
||||||
return std::string(kBin) + args_joined;
|
return std::string(repertory_bin) + args_joined;
|
||||||
#endif // defined(_WIN32)
|
#endif // defined(_WIN32)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user