Pass strings by const reference where possible

This commit is contained in:
Lioncash committed 2015-05-28 20:54:55 -04:00
1 parent 6ff3fcee59
commit ac26f8e79f
21 files changed
+32 -32

No files matched your search

+2 -2
View File
@@ -40,7 +40,7 @@ enum EState
bool Init();
void Stop();
std::string StopMessage(bool, std::string);
std::string StopMessage(bool, const std::string&);
bool IsRunning();
bool IsRunningAndStarted(); // is running and the CPU loop has been entered
@@ -59,7 +59,7 @@ void Callback_WiimoteInterruptChannel(int _number, u16 _channelID, const void* _
void DisplayMessage(const std::string& message, int time_in_ms);
std::string GetStateFileName();
void SetStateFileName(std::string val);
void SetStateFileName(const std::string& val);
void SetBlockStart(u32 addr);