File tree 1 file changed +0
-9
lines changed
1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -119,17 +119,8 @@ TYPED_TEST(DenseMapTest, EmptyIntMapTest) {
119
119
// Lookup tests
120
120
EXPECT_FALSE (this ->Map .count (this ->getKey ()));
121
121
EXPECT_TRUE (this ->Map .find (this ->getKey ()) == this ->Map .end ());
122
- #if !defined(_MSC_VER) || defined(__clang__)
123
122
EXPECT_EQ (typename TypeParam::mapped_type (),
124
123
this ->Map .lookup (this ->getKey ()));
125
- #else
126
- // MSVC, at least old versions, cannot parse the typename to disambiguate
127
- // TypeParam::mapped_type as a type. However, because MSVC doesn't implement
128
- // two-phase name lookup, it also doesn't require the typename. Deal with
129
- // this mutual incompatibility through specialized code.
130
- EXPECT_EQ (TypeParam::mapped_type (),
131
- this ->Map .lookup (this ->getKey ()));
132
- #endif
133
124
}
134
125
135
126
// Constant map tests
You can’t perform that action at this time.
0 commit comments