mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-05-07 03:49:43 -05:00
Fixed string_view conversion bug in TaskRunner
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user