mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 12:19:12 +00:00
Pass strings by const reference where possible
This commit is contained in:
parent
6ff3fcee59
commit
ac26f8e79f
21 changed files with 32 additions and 32 deletions
|
@ -68,9 +68,9 @@ public:
|
|||
const ConfigurationOption& GetOption(const std::string& option) { return m_options[option]; }
|
||||
|
||||
// For updating option's values
|
||||
void SetOptionf(std::string option, int index, float value);
|
||||
void SetOptioni(std::string option, int index, s32 value);
|
||||
void SetOptionb(std::string option, bool value);
|
||||
void SetOptionf(const std::string& option, int index, float value);
|
||||
void SetOptioni(const std::string& option, int index, s32 value);
|
||||
void SetOptionb(const std::string& option, bool value);
|
||||
|
||||
private:
|
||||
bool m_any_options_dirty;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue