summaryrefslogtreecommitdiff
path: root/src/fs/files.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs/files.cpp')
-rw-r--r--src/fs/files.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fs/files.cpp b/src/fs/files.cpp
index 215076b99..3bb3262da 100644
--- a/src/fs/files.cpp
+++ b/src/fs/files.cpp
@@ -249,7 +249,7 @@ bool Files::loadTextFileLocal(const std::string &fileName,
return true;
}
-void Files::saveTextFile(std::string path,
+void Files::saveTextFile(const std::string &path,
const std::string &restrict name,
const std::string &restrict text)
{