diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2020-12-24 18:20:04 +0100 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2020-12-24 18:20:04 +0100 |
commit | 0a2acd750a4155969092be674ed3dd9a71b2354f (patch) | |
tree | 37a45405633d2a229f60a478f05979218f8c7d38 /lib/util.cpp | |
parent | 1a832ae9b6a0d679b551fd644136e4bc17e7db29 (diff) | |
download | libquotient-0a2acd750a4155969092be674ed3dd9a71b2354f.tar.gz libquotient-0a2acd750a4155969092be674ed3dd9a71b2354f.zip |
Fix clang-tidy/clazy warnings
Diffstat (limited to 'lib/util.cpp')
-rw-r--r-- | lib/util.cpp | 5 |
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"); |