summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2021-10-16 12:55:28 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2021-10-16 13:01:31 +0100
commita703fae42ee392050e22e1c1bdfba8597ca1a5bc (patch)
treef1f958dcb39af0d7195481bacc425e6d79692195
parent<algorithm> needed for min (diff)
downloadlibadhocutil-a703fae42ee392050e22e1c1bdfba8597ca1a5bc.tar.bz2
libadhocutil-a703fae42ee392050e22e1c1bdfba8597ca1a5bc.tar.xz
libadhocutil-a703fae42ee392050e22e1c1bdfba8597ca1a5bc.zip
<type_traits> needed for std::is_member_function_pointer_v
-rw-r--r--libadhocutil/case_less.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/libadhocutil/case_less.cpp b/libadhocutil/case_less.cpp
index 7960990..4a41910 100644
--- a/libadhocutil/case_less.cpp
+++ b/libadhocutil/case_less.cpp
@@ -1,5 +1,6 @@
#include "case_less.h"
#include <string_view>
+#include <type_traits>
static_assert(
std::is_member_function_pointer_v<decltype(&AdHoc::case_less::operator()<std::string_view, std::string_view>)>);