CGameProject: Make use of std::move where applicable

Same behavior, but allows calling code to completely eliminate copies.
This commit is contained in:
Lioncash 2020-06-18 05:30:26 -04:00
parent bb9947fe0e
commit 6a0a20e3fa
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ public:
TString DiscFilesystemRoot(bool Relative) const { return DiscDir(Relative) + (IsWiiBuild() ? "DATA/" : "") + "files/"; }
// Accessors
void SetProjectName(const TString& rkName) { mProjectName = rkName; }
void SetProjectName(TString name) { mProjectName = std::move(name); }
TString Name() const { return mProjectName; }
uint32 NumPackages() const { return mPackages.size(); }