Core: Pass string by const reference in SaveScreenShot

This commit is contained in:
Lioncash
2015-07-09 07:24:30 -04:00
parent 638b108f44
commit 5768161052
2 changed files with 2 additions and 2 deletions

View File

@ -678,7 +678,7 @@ void SaveScreenShot()
SetState(CORE_RUN);
}
void SaveScreenShot(const std::string name)
void SaveScreenShot(const std::string& name)
{
const bool bPaused = (GetState() == CORE_PAUSE);