Permalink
Browse files

PostProcessing: Make member functions const qualified where applicable

These functions don't modify internal class state
  • Loading branch information...
lioncash committed May 21, 2018
1 parent 8ce6f9b commit 9d1b6cdea401b4afadda95e38b8e6e8c337a39f7
Showing with 3 additions and 3 deletions.
  1. +3 −3 Source/Core/VideoCommon/PostProcessing.h
@@ -57,10 +57,10 @@ class PostProcessingShaderConfiguration
std::string LoadShader(std::string shader = "");
void SaveOptionsConfiguration();
void ReloadShader();
std::string GetShader() { return m_current_shader; }
bool IsDirty() { return m_any_options_dirty; }
std::string GetShader() const { return m_current_shader; }
bool IsDirty() const { return m_any_options_dirty; }
void SetDirty(bool dirty) { m_any_options_dirty = dirty; }
bool HasOptions() { return m_options.size() > 0; }
bool HasOptions() const { return m_options.size() > 0; }
const ConfigMap& GetOptions() const { return m_options; }
ConfigMap& GetOptions() { return m_options; }
const ConfigurationOption& GetOption(const std::string& option) { return m_options[option]; }

0 comments on commit 9d1b6cd

Please sign in to comment.