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"); }