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);
|
||||
}
|
||||
|
||||
bool CGameInfo::LoadGameInfo(TString Path)
|
||||
bool CGameInfo::LoadGameInfo(const TString& Path)
|
||||
{
|
||||
CXMLReader Reader(Path);
|
||||
|
||||
|
|
|
@ -37,7 +37,7 @@ public:
|
|||
CGameInfo() = default;
|
||||
|
||||
bool LoadGameInfo(EGame Game);
|
||||
bool LoadGameInfo(TString Path);
|
||||
bool LoadGameInfo(const TString& Path);
|
||||
bool SaveGameInfo(TString Path = "");
|
||||
void Serialize(IArchive& rArc);
|
||||
|
||||
|
|
Loading…
Reference in New Issue