Pass strings by const reference where possible
This commit is contained in:
1 parent
6ff3fcee59
commit
ac26f8e79f
21 files changed
+32
-32
No files matched your search
@@ -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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user