Skip to content

Commit 6a93adf

Browse files
Up with typename
1 parent 7f06fa2 commit 6a93adf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libcxx/test/std/containers/sequences/vector.bool/vector_bool.pass.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ template <class VB>
2626
TEST_CONSTEXPR_CXX20 void test() {
2727
typedef std::hash<VB> H;
2828
#if TEST_STD_VER <= 14
29-
static_assert((std::is_same<H::argument_type, VB>::value), "");
30-
static_assert((std::is_same<H::result_type, std::size_t>::value), "");
29+
static_assert((std::is_same<typename H::argument_type, VB>::value), "");
30+
static_assert((std::is_same<typename H::result_type, std::size_t>::value), "");
3131
#endif
3232
ASSERT_NOEXCEPT(H()(VB()));
3333

0 commit comments

Comments
 (0)