diff --git a/repertory/repertory_test/include/fixtures/drive_fixture.hpp b/repertory/repertory_test/include/fixtures/drive_fixture.hpp index dd7ad9c0..d4ab7fab 100644 --- a/repertory/repertory_test/include/fixtures/drive_fixture.hpp +++ b/repertory/repertory_test/include/fixtures/drive_fixture.hpp @@ -144,11 +144,12 @@ struct platform_ops { return ".\\repertory.exe " + args_joined; #else // !defined(_WIN32) #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__) - constexpr const char *kBin = "./repertory "; + constexpr std::string_view repertory_bin = "./repertory "; #endif // defined(__APPLE__) - return std::string(kBin) + args_joined; + return std::string(repertory_bin) + args_joined; #endif // defined(_WIN32) }