1
0
forked from 0ad/0ad

Const ref.

This was SVN commit r17090.
This commit is contained in:
leper 2015-09-30 20:28:23 +00:00
parent b0a6979242
commit 061c7f6058

View File

@ -884,7 +884,7 @@ bool Autostart(const CmdLineArgs& args);
/**
* Returns true if the user has intended to start a visual replay from command line.
*/
bool AutostartVisualReplay(const std::string replayFile);
bool AutostartVisualReplay(const std::string& replayFile);
bool Init(const CmdLineArgs& args, int flags)
{
@ -1473,7 +1473,7 @@ bool Autostart(const CmdLineArgs& args)
return true;
}
bool AutostartVisualReplay(const std::string replayFile)
bool AutostartVisualReplay(const std::string& replayFile)
{
if (!FileExists(OsPath(replayFile)))
return false;