From e45d8594f42fa5f67bd2e6741ec9e86ee9b4f954 Mon Sep 17 00:00:00 2001 From: cdozdil Date: Sun, 28 Dec 2025 18:30:09 +0300 Subject: [PATCH] Fix clang format --- OptiScaler/Config.h | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/OptiScaler/Config.h b/OptiScaler/Config.h index cc27555e..bb836909 100644 --- a/OptiScaler/Config.h +++ b/OptiScaler/Config.h @@ -102,13 +102,12 @@ template 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 value_for_config(bool forceSave = false) - requires(defaultState == WithDefault) + constexpr std::optional value_for_config(bool forceSave = false) + requires(defaultState == WithDefault) { if (_volatile) {