mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-07-03 03:36:10 +00:00
CGameInfo: Make use of const reference with LoadGameInfo()
This commit is contained in:
parent
a25430eec3
commit
829613193d
@ -15,7 +15,7 @@ bool CGameInfo::LoadGameInfo(EGame Game)
|
|||||||
return LoadGameInfo(Path);
|
return LoadGameInfo(Path);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool CGameInfo::LoadGameInfo(TString Path)
|
bool CGameInfo::LoadGameInfo(const TString& Path)
|
||||||
{
|
{
|
||||||
CXMLReader Reader(Path);
|
CXMLReader Reader(Path);
|
||||||
|
|
||||||
|
@ -37,7 +37,7 @@ public:
|
|||||||
CGameInfo() = default;
|
CGameInfo() = default;
|
||||||
|
|
||||||
bool LoadGameInfo(EGame Game);
|
bool LoadGameInfo(EGame Game);
|
||||||
bool LoadGameInfo(TString Path);
|
bool LoadGameInfo(const TString& Path);
|
||||||
bool SaveGameInfo(TString Path = "");
|
bool SaveGameInfo(TString Path = "");
|
||||||
void Serialize(IArchive& rArc);
|
void Serialize(IArchive& rArc);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user