diff options
-rw-r--r-- | primedev/mods/modsavefiles.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/primedev/mods/modsavefiles.cpp b/primedev/mods/modsavefiles.cpp index 5f1317b9..a7075612 100644 --- a/primedev/mods/modsavefiles.cpp +++ b/primedev/mods/modsavefiles.cpp @@ -82,7 +82,7 @@ template <ScriptContext context> void SaveFileManager::SaveFileAsync(fs::path fi } // TODO: move into list of global consts? - std::set<std::string> whitelist = {".txt", ".json"}; + static const std::set<std::string> whitelist = {".txt", ".json"}; // Check if file extension is whitelisted std::string extension = file.extension().string(); |