From 54d94698a26a6e48e691fde17791b2f6e4ca73b7 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sat, 16 Oct 2021 12:28:09 +0100 Subject: Fix static_assert on case_less function --- libadhocutil/case_less.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libadhocutil/case_less.cpp b/libadhocutil/case_less.cpp index 5e83f68..7960990 100644 --- a/libadhocutil/case_less.cpp +++ b/libadhocutil/case_less.cpp @@ -1,4 +1,5 @@ #include "case_less.h" #include -static_assert(&AdHoc::case_less::operator()); +static_assert( + std::is_member_function_pointer_v)>); -- cgit v1.2.3