mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-06-30 10:23:31 +00:00
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…
x
Reference in New Issue
Block a user