mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-05-05 10:59:47 -05:00
Code Cleanup (#2191)
* constexpr const -> constexpr * const char* -> std::string_view
This commit is contained in:
+1
-2
@@ -62,8 +62,7 @@ int main(int argc, char** argv) {
|
||||
std::filesystem::path configFile = configuration::findConfiguration();
|
||||
// Register the base path as the directory where 'filename' lives
|
||||
std::filesystem::path base = configFile.parent_path();
|
||||
constexpr const char* BasePathToken = "${BASE}";
|
||||
FileSys.registerPathToken(BasePathToken, base);
|
||||
FileSys.registerPathToken("${BASE}", base);
|
||||
|
||||
*global::configuration = configuration::loadConfigurationFromFile(
|
||||
configFile.string(),
|
||||
|
||||
Reference in New Issue
Block a user