@@ -209,8 +209,8 @@ class [[nodiscard]] scope_guard;
209209 * @tparam ConstructionExceptionBehavior callable function that defines the behavior if an exception occurs
210210 * on the construction.
211211 */
212- template <scope_exit_function ScopeExitFunc,
213- scope_function_invoke_check InvokeChecker,
212+ template <scope_exit_function ScopeExitFunc,
213+ scope_function_invoke_check InvokeChecker,
214214 exception_during_construction_behaviour ConstructionExceptionBehavior>
215215class [[nodiscard]] scope_guard<ScopeExitFunc, InvokeChecker, ConstructionExceptionBehavior> {
216216 public:
@@ -233,7 +233,7 @@ class [[nodiscard]] scope_guard<ScopeExitFunc, InvokeChecker, ConstructionExcept
233233 constexpr scope_guard (EF&& exit_func,
234234 CHKR&& invoke_checker) noexcept (std::is_nothrow_constructible_v<ScopeExitFunc> &&
235235 std::is_nothrow_constructible_v<InvokeChecker>) try
236- : exit_func{std::forward<EF>(exit_func)}, invoke_check_func{std::forward<CHKR>(invoke_checker)} {
236+ : exit_func{std::forward<EF>(exit_func)}, invoke_check_func{std::forward<CHKR>(invoke_checker)} {
237237 } catch (...) {
238238 if constexpr (ConstructionExceptionBehavior == exception_during_construction_behaviour::invoke_exit_func) {
239239 exit_func ();
@@ -357,7 +357,7 @@ template <typename ExitFunc,
357357scope_guard (ExitFunc&&, InvokeChecker&&) -> scope_guard<std::decay_t <ExitFunc>, std::decay_t <InvokeChecker>, ecdb>;
358358
359359template <typename ExitFunc,
360- typename InvokeChecker = void ,
360+ typename InvokeChecker = void ,
361361 exception_during_construction_behaviour ecdb = exception_during_construction_behaviour::invoke_exit_func>
362362 requires (scope_exit_function<ExitFunc> &&
363363 (scope_function_invoke_check<InvokeChecker> || std::is_void_v<InvokeChecker>))
@@ -385,7 +385,7 @@ class ReleasableExecuteWhenNoException {
385385 return uncaught_on_creation >= std::uncaught_exceptions ();
386386 }
387387
388- void release () { uncaught_on_creation = std::numeric_limits<int >::min (); }
388+ void release () { uncaught_on_creation = std::numeric_limits<int >::min (); }
389389
390390 private:
391391 int uncaught_on_creation = std::uncaught_exceptions();
0 commit comments