aboutsummaryrefslogtreecommitdiff
path: root/lib/function_traits.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/function_traits.cpp')
-rw-r--r--lib/function_traits.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/function_traits.cpp b/lib/function_traits.cpp
index 20bcf30e..6542101a 100644
--- a/lib/function_traits.cpp
+++ b/lib/function_traits.cpp
@@ -47,7 +47,7 @@ static_assert(std::is_same_v<fn_arg_t<Fo1>, int>,
"Test fn_arg_t defaulting to first argument");
template <typename T>
-static void ft(const std::vector<T>&);
+[[maybe_unused]] static void ft(const std::vector<T>&);
static_assert(
std::is_same<fn_arg_t<decltype(ft<double>)>, const std::vector<double>&>(),
"Test function templates");