summaryrefslogtreecommitdiffstats
path: root/src/WorldStorage/StatSerializer.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@outlook.com>2020-08-21 19:15:34 +0200
committerTiger Wang <ziwei.tiger@outlook.com>2020-08-21 19:15:34 +0200
commit8620f6a13ef6db5c13989a4f1ec4d4304c8128c6 (patch)
tree0ea42a1592188d216ca0643bb9fb1b48bc1f98c1 /src/WorldStorage/StatSerializer.h
parentMake StatSerializer a namespace (diff)
downloadcuberite-8620f6a13ef6db5c13989a4f1ec4d4304c8128c6.tar
cuberite-8620f6a13ef6db5c13989a4f1ec4d4304c8128c6.tar.gz
cuberite-8620f6a13ef6db5c13989a4f1ec4d4304c8128c6.tar.bz2
cuberite-8620f6a13ef6db5c13989a4f1ec4d4304c8128c6.tar.lz
cuberite-8620f6a13ef6db5c13989a4f1ec4d4304c8128c6.tar.xz
cuberite-8620f6a13ef6db5c13989a4f1ec4d4304c8128c6.tar.zst
cuberite-8620f6a13ef6db5c13989a4f1ec4d4304c8128c6.zip
Diffstat (limited to 'src/WorldStorage/StatSerializer.h')
-rw-r--r--src/WorldStorage/StatSerializer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/WorldStorage/StatSerializer.h b/src/WorldStorage/StatSerializer.h
index 59b502425..1a52b55b7 100644
--- a/src/WorldStorage/StatSerializer.h
+++ b/src/WorldStorage/StatSerializer.h
@@ -24,8 +24,8 @@ namespace Json { class Value; }
namespace StatSerializer
{
/* Try to load the player statistics. */
- void Load(cStatManager & Manager, const std::string & WorldPath, std::string FileName);
+ void Load(cStatManager & Manager, const std::string & WorldPath, std::string && FileName);
/* Try to save the player statistics. */
- void Save(const cStatManager & Manager, const std::string & WorldPath, std::string FileName);
+ void Save(const cStatManager & Manager, const std::string & WorldPath, std::string && FileName);
}