diff options
author | Northstar <northstar@northstar.tf> | 2023-12-20 15:20:02 +0100 |
---|---|---|
committer | Northstar <northstar@northstar.tf> | 2023-12-20 15:20:02 +0100 |
commit | 1e5c4a7f6a734352f802c82b293fe3b215e3a5b2 (patch) | |
tree | b1a5484f3839e1b0c2a9169856a51c16cf255180 /NorthstarDLL/mods/modsavefiles.h | |
parent | 714282b52039b12225c8348ef7346d092676ffb1 (diff) | |
download | NorthstarLauncher-1e5c4a7f6a734352f802c82b293fe3b215e3a5b2.tar.gz NorthstarLauncher-1e5c4a7f6a734352f802c82b293fe3b215e3a5b2.zip |
Format project
Diffstat (limited to 'NorthstarDLL/mods/modsavefiles.h')
-rw-r--r-- | NorthstarDLL/mods/modsavefiles.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/NorthstarDLL/mods/modsavefiles.h b/NorthstarDLL/mods/modsavefiles.h index a50fe62c..f9d39723 100644 --- a/NorthstarDLL/mods/modsavefiles.h +++ b/NorthstarDLL/mods/modsavefiles.h @@ -4,13 +4,13 @@ bool ContainsInvalidChars(std::string str); class SaveFileManager { - public: +public: template <ScriptContext context> void SaveFileAsync(fs::path file, std::string content); template <ScriptContext context> int LoadFileAsync(fs::path file); template <ScriptContext context> void DeleteFileAsync(fs::path file); // Future proofed in that if we ever get multi-threaded SSDs this code will take advantage of them. std::mutex fileMutex; - private: +private: int m_iLastRequestHandle = 0; }; |