common/setting: Make ranged a property of the type
- Avoids new GCC 12 warnings when Type is of form std::optional<T> - Makes more sense this way, because ranged is not a property which would change over time
This commit is contained in:
parent
d2c0b45bca
commit
99fbdaf75b
6 changed files with 59 additions and 58 deletions
|
@ -33,6 +33,6 @@ private:
|
|||
* @param group The name of the INI group
|
||||
* @param setting The yuzu setting to modify
|
||||
*/
|
||||
template <typename Type>
|
||||
void ReadSetting(const std::string& group, Settings::Setting<Type>& setting);
|
||||
template <typename Type, bool ranged>
|
||||
void ReadSetting(const std::string& group, Settings::Setting<Type, ranged>& setting);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue