From edbe202aa3290ca267acebc7e9602a08e447754f Mon Sep 17 00:00:00 2001 From: Dentomologist Date: Thu, 17 Feb 2022 09:54:07 -0800 Subject: VideoCommon: Convert OptionType to enum class --- Source/Core/VideoCommon/PostProcessing.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'Source/Core/VideoCommon/PostProcessing.h') diff --git a/Source/Core/VideoCommon/PostProcessing.h b/Source/Core/VideoCommon/PostProcessing.h index aafee8f1f6..c7f94535f5 100644 --- a/Source/Core/VideoCommon/PostProcessing.h +++ b/Source/Core/VideoCommon/PostProcessing.h @@ -24,11 +24,11 @@ class PostProcessingConfiguration public: struct ConfigurationOption { - enum OptionType + enum class OptionType { - OPTION_BOOL = 0, - OPTION_FLOAT, - OPTION_INTEGER, + Bool = 0, + Float, + Integer, }; bool m_bool_value = false; @@ -45,7 +45,7 @@ public: std::vector m_float_step_values; std::vector m_integer_step_values; - OptionType m_type = OptionType::OPTION_BOOL; + OptionType m_type = OptionType::Bool; std::string m_gui_name; std::string m_option_name; -- cgit v1.2.3