summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libadhocutil/case_less.cpp3
1 files changed, 2 insertions, 1 deletions
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 <string_view>
-static_assert(&AdHoc::case_less::operator()<std::string_view, std::string_view>);
+static_assert(
+ std::is_member_function_pointer_v<decltype(&AdHoc::case_less::operator()<std::string_view, std::string_view>)>);