StatSerializer: use std::move

This commit is contained in:
Tiger Wang
2020-08-21 18:15:34 +01:00
parent e23dcffaff
commit 8620f6a13e
2 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -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);
}