diff --git a/src/common/settings_interface.h b/src/common/settings_interface.h index 068fccbe7..7a41bf296 100644 --- a/src/common/settings_interface.h +++ b/src/common/settings_interface.h @@ -107,35 +107,35 @@ public: } ALWAYS_INLINE std::optional GetOptionalIntValue(const char* section, const char* key, - std::optional default_value = std::nullopt) + std::optional default_value = std::nullopt) const { s32 ret; return GetIntValue(section, key, &ret) ? std::optional(ret) : default_value; } ALWAYS_INLINE std::optional GetOptionalUIntValue(const char* section, const char* key, - std::optional default_value = std::nullopt) + std::optional default_value = std::nullopt) const { u32 ret; return GetUIntValue(section, key, &ret) ? std::optional(ret) : default_value; } ALWAYS_INLINE std::optional GetOptionalFloatValue(const char* section, const char* key, - std::optional default_value = std::nullopt) + std::optional default_value = std::nullopt) const { float ret; return GetFloatValue(section, key, &ret) ? std::optional(ret) : default_value; } ALWAYS_INLINE std::optional GetOptionalDoubleValue(const char* section, const char* key, - std::optional default_value = std::nullopt) + std::optional default_value = std::nullopt) const { double ret; return GetDoubleValue(section, key, &ret) ? std::optional(ret) : default_value; } ALWAYS_INLINE std::optional GetOptionalBoolValue(const char* section, const char* key, - std::optional default_value = std::nullopt) + std::optional default_value = std::nullopt) const { bool ret; return GetBoolValue(section, key, &ret) ? std::optional(ret) : default_value;