Fixed string_view conversion bug in TaskRunner

This commit is contained in:
Gene Payne
2022-09-11 21:33:15 -06:00
committed by GitHub
parent ff89d7860c
commit 31f859b589
+1 -1
View File
@@ -113,7 +113,7 @@ int main(int argc, char** argv) {
// Register the base path as the directory where the configuration file lives
std::filesystem::path base = configFile.parent_path();
constexpr std::string_view BasePathToken = "${BASE}";
FileSys.registerPathToken(BasePathToken, base);
FileSys.registerPathToken(BasePathToken.data(), base);
// Using same configuration for size as in apps/OpenSpace/main.cpp
glm::ivec2 size = glm::ivec2(1920, 1080);