mirror of
https://github.com/optiscaler/OptiScaler.git
synced 2026-08-25 15:46:45 +00:00
Fix clang format
This commit is contained in:
+5
-6
@@ -102,13 +102,12 @@ template <class T, HasDefaultValue defaultState = WithDefault> class CustomOptio
|
||||
}
|
||||
|
||||
constexpr T value_or_default() &&
|
||||
requires(defaultState != NoDefault)
|
||||
{
|
||||
return this->has_value() ? std::move(this->value()) : std::move(_defaultValue);
|
||||
}
|
||||
requires(defaultState != NoDefault) {
|
||||
return this->has_value() ? std::move(this->value()) : std::move(_defaultValue);
|
||||
}
|
||||
|
||||
constexpr std::optional<T> value_for_config(bool forceSave = false)
|
||||
requires(defaultState == WithDefault)
|
||||
constexpr std::optional<T> value_for_config(bool forceSave = false)
|
||||
requires(defaultState == WithDefault)
|
||||
{
|
||||
if (_volatile)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user