aboutsummaryrefslogtreecommitdiff
path: root/src/util/function.tpp
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-05-15 19:57:02 +0200
committerHampusM <hampus@hampusmat.com>2022-06-13 17:56:59 +0200
commit019337908e37ffee9b624b313e9d7f885bff9781 (patch)
tree7f8ba5e8b12fff7723b1af2317c3fba52c0c7011 /src/util/function.tpp
parent741a6008e806abb8e5aaa8f8fb91827fa97ece9d (diff)
style: change braced list & bracket style
Diffstat (limited to 'src/util/function.tpp')
-rw-r--r--src/util/function.tpp7
1 files changed, 3 insertions, 4 deletions
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<Return(Args...)> /*unused*/) no
// lamda capture
static auto static_func = Function(std::forward<Function>(func));
- return +[](Args... args) noexcept(noexcept(std::declval<Function>(
- )(std::forward<Args>(args)...))) -> Return
+ return +[](Args... args) noexcept(
+ noexcept(std::declval<Function>()(std::forward<Args>(args)...))) -> Return
{
return static_func(std::forward<Args>(args)...);
};
@@ -72,6 +72,5 @@ constexpr auto normalize_lambda(Function &&func) noexcept
{
return get_normalized_lambda(
std::forward<Function>(func),
- extract_signature(std::forward<Function>(func))
- );
+ extract_signature(std::forward<Function>(func)));
}