From 019337908e37ffee9b624b313e9d7f885bff9781 Mon Sep 17 00:00:00 2001 From: HampusM Date: Sun, 15 May 2022 19:57:02 +0200 Subject: style: change braced list & bracket style --- src/util/function.tpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/util/function.tpp') diff --git a/src/util/function.tpp b/src/util/function.tpp index 0a7a6d6..9d3d38c 100644 --- a/src/util/function.tpp +++ b/src/util/function.tpp @@ -52,8 +52,8 @@ get_normalized_lambda(Function &&func, Signature /*unused*/) no // lamda capture static auto static_func = Function(std::forward(func)); - return +[](Args... args) noexcept(noexcept(std::declval( - )(std::forward(args)...))) -> Return + return +[](Args... args) noexcept( + noexcept(std::declval()(std::forward(args)...))) -> Return { return static_func(std::forward(args)...); }; @@ -72,6 +72,5 @@ constexpr auto normalize_lambda(Function &&func) noexcept { return get_normalized_lambda( std::forward(func), - extract_signature(std::forward(func)) - ); + extract_signature(std::forward(func))); } -- cgit v1.2.3-18-g5258