aboutsummaryrefslogtreecommitdiff
path: root/lib/util.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/util.cpp')
-rw-r--r--lib/util.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/util.cpp b/lib/util.cpp
index ffb36068..875d7522 100644
--- a/lib/util.cpp
+++ b/lib/util.cpp
@@ -161,9 +161,6 @@ static_assert(std::is_same<fn_arg_t<Fo1>, int>(),
"Test fn_arg_t defaulting to first argument");
template <typename T>
-static QString ft(T&&)
-{
- return {};
-}
+static QString ft(T&&);
static_assert(std::is_same<fn_arg_t<decltype(ft<QString>)>, QString&&>(),
"Test function templates");