CGameProject: Make use of std::move where applicable
Same behavior, but allows calling code to completely eliminate copies.
This commit is contained in:
parent
bb9947fe0e
commit
6a0a20e3fa
|
@ -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(); }
|
||||
|
|
Loading…
Reference in New Issue