diff options
| author | Lioncash <mathew1800@gmail.com> | 2015-05-28 21:26:06 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2015-05-28 21:26:06 -0400 |
| commit | 68d6f07b5c7251dce346f3eaf15eb637b869ab4b (patch) | |
| tree | 86b0b0da5ddfd5659eeaf39f07e314012798cd33 /Source/Core/VideoCommon/PostProcessing.h | |
| parent | 6ff3fcee597663066c966a54ee51aab7fa166cd9 (diff) | |
| parent | ac26f8e79fbf640ba770a35c1f051c2816f6346f (diff) | |
Merge pull request #2476 from lioncash/string
Pass strings by const reference where possible
Diffstat (limited to 'Source/Core/VideoCommon/PostProcessing.h')
| -rw-r--r-- | Source/Core/VideoCommon/PostProcessing.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/VideoCommon/PostProcessing.h b/Source/Core/VideoCommon/PostProcessing.h index 237337f2fa..52ebf1b71b 100644 --- a/Source/Core/VideoCommon/PostProcessing.h +++ b/Source/Core/VideoCommon/PostProcessing.h @@ -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; |
