aboutsummaryrefslogtreecommitdiff
path: root/lib/util.cpp
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2019-04-04 21:27:38 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2019-04-06 20:32:48 +0900
commit432e7fd7107d8260e0016a1adcd8d94263dc1044 (patch)
tree71171a541e508f7a97b1d843c707c7ef296374cb /lib/util.cpp
parent8035ec464ce797abab5e464c2cfb485f7fa14d06 (diff)
downloadlibquotient-432e7fd7107d8260e0016a1adcd8d94263dc1044.tar.gz
libquotient-432e7fd7107d8260e0016a1adcd8d94263dc1044.zip
Clean up on clang-tidy/clazy analysis
Diffstat (limited to 'lib/util.cpp')
-rw-r--r--lib/util.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util.cpp b/lib/util.cpp
index fe6286f3..c3e21c8e 100644
--- a/lib/util.cpp
+++ b/lib/util.cpp
@@ -157,7 +157,7 @@ static_assert(!is_callable_v<fn_object<int>>, "Test non-function object");
// "Test returns<> with static member function");
template <typename T>
-QString ft(T&&);
+QString ft(T&&) { return {}; }
static_assert(std::is_same<fn_arg_t<decltype(ft<QString>)>, QString&&>(),
"Test function templates");