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.
This commit is contained in:
		
							parent
							
								
									be8475fdf7
								
							
						
					
					
						commit
						049a0d74b0
					
				| @ -3033,7 +3033,7 @@ class PointwiseMatcher { | ||||
|   operator Matcher<LhsContainer>() const { | ||||
|     GTEST_COMPILE_ASSERT_( | ||||
|         !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_)); | ||||
|   } | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user