From b5a7bda41f2b189d45a61ad56245dc91f2099175 Mon Sep 17 00:00:00 2001 From: Matthias Wittgen Date: Sat, 27 Jul 2024 19:52:32 -0700 Subject: [PATCH] replace std::result_of_t --- include/lsst/cpputils/tests.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/lsst/cpputils/tests.h b/include/lsst/cpputils/tests.h index a3fe8cb..190a005 100644 --- a/include/lsst/cpputils/tests.h +++ b/include/lsst/cpputils/tests.h @@ -84,7 +84,7 @@ constexpr void assertValidHash() { static_assert(is_same::value, "std::hash must have a result_type member until C++20"); // Ability to call Hash(T) hard to test before C++17 - static_assert(is_same, size_t>::value, + static_assert(is_same, size_t>::value, "std::hash specializations must be callable and return a size_t"); }