more fixing osx libstd++ bugs
This commit is contained in:
		
							parent
							
								
									1d26f6b670
								
							
						
					
					
						commit
						3b75be525c
					
				@ -328,7 +328,8 @@ TEST(InvokeTest, FunctionThatTakes10Arguments) {
 | 
			
		||||
// Tests using Invoke() with functions with parameters declared as Unused.
 | 
			
		||||
TEST(InvokeTest, FunctionWithUnusedParameters) {
 | 
			
		||||
  Action<int(int, int, double, const std::string&)> a1 = Invoke(SumOfFirst2);
 | 
			
		||||
  EXPECT_EQ(12, a1.Perform(make_tuple(10, 2, 5.6, std::string("hi"))));
 | 
			
		||||
  tuple<int, int, double, std::string> dummy = make_tuple(10, 2, 5.6, std::string("hi"));
 | 
			
		||||
  EXPECT_EQ(12, a1.Perform(dummy));
 | 
			
		||||
 | 
			
		||||
  Action<int(int, int, bool, int*)> a2 =
 | 
			
		||||
      Invoke(SumOfFirst2);
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user