forked from 0ad/0ad
Const ref.
This was SVN commit r17090.
This commit is contained in:
parent
b0a6979242
commit
061c7f6058
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user