Unverified Commit 049a0d74 by Lukasz Czajczyk Committed by GitHub

Fix for: failed build on centos6 master #1587

The issue still exists in 1.8.1 and NOT in master branch. It was introduced to 1.8.1 only by #1512. This code GTEST_COMPILE_ASSERT_( !IsHashTable<GTEST_REMOVE_REFERENCE_AND_CONST_(LhsContainer)>::value, use_UnorderedPointwise_with_hash_tables); Creates 2nd variable use_UnorderedPointwise_with_hash_tables.
parent be8475fd
...@@ -3033,7 +3033,7 @@ class PointwiseMatcher { ...@@ -3033,7 +3033,7 @@ class PointwiseMatcher {
operator Matcher<LhsContainer>() const { operator Matcher<LhsContainer>() const {
GTEST_COMPILE_ASSERT_( GTEST_COMPILE_ASSERT_(
!IsHashTable<GTEST_REMOVE_REFERENCE_AND_CONST_(LhsContainer)>::value, !IsHashTable<GTEST_REMOVE_REFERENCE_AND_CONST_(LhsContainer)>::value,
use_UnorderedPointwise_with_hash_tables); use_UnorderedPointwise_with_hash_tables_);
return MakeMatcher(new Impl<LhsContainer>(tuple_matcher_, rhs_)); return MakeMatcher(new Impl<LhsContainer>(tuple_matcher_, rhs_));
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment