We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b307ef5 commit 5d953c7Copy full SHA for 5d953c7
include/lsst/cpputils/tests.h
@@ -84,7 +84,7 @@ constexpr void assertValidHash() {
84
static_assert(is_same<typename Hash::result_type, size_t>::value,
85
"std::hash must have a result_type member until C++20");
86
// Ability to call Hash(T) hard to test before C++17
87
- static_assert(is_same<std::invoke_result_t<Hash(T)>, size_t>::value,
+ static_assert(is_same<std::invoke_result_t<Hash, T>, size_t>::value,
88
"std::hash specializations must be callable and return a size_t");
89
}
90
0 commit comments