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 e35b591 commit b675599Copy full SHA for b675599
libcxx/test/std/containers/Emplaceable.h
@@ -49,7 +49,7 @@ struct std::hash<Emplaceable> {
49
typedef Emplaceable argument_type;
50
typedef std::size_t result_type;
51
52
- TEST_CONSTEXPR std::size_t operator()(const Emplaceable& x) const { return static_cast<std::size_t>(x.get()); }
+ TEST_CONSTEXPR_CXX20 std::size_t operator()(const Emplaceable& x) const { return static_cast<std::size_t>(x.get()); }
53
};
54
55
#endif // TEST_STD_VER >= 11
0 commit comments