diff --git a/repertory/repertory_test/include/fixtures/winfsp_fixture.hpp b/repertory/repertory_test/include/fixtures/winfsp_fixture.hpp index 71d7d2a1..c8e43065 100644 --- a/repertory/repertory_test/include/fixtures/winfsp_fixture.hpp +++ b/repertory/repertory_test/include/fixtures/winfsp_fixture.hpp @@ -75,7 +75,7 @@ protected: static void SetUpTestCase() { current_directory = std::filesystem::current_path(); - mount_location = utils::string::to_lower("U:"); + mount_location = utils::string::to_lower(std::string{"U:"}); const auto mount_s3 = [&]() { { @@ -164,7 +164,7 @@ protected: }); mount_location2 = mount_location; - mount_location = utils::string::to_lower("V:"); + mount_location = utils::string::to_lower(std::string{"V:"}); auto cfg_directory = utils::path::combine(test_directory, {"cfg2"}); ASSERT_TRUE(utils::file::directory(cfg_directory).create_directory());