merging
This commit is contained in:
parent
26c10dc7e6
commit
1c6e68cf6c
|
@ -1539,10 +1539,9 @@ TEST(FunctorActionTest, TypeConversion) {
|
|||
|
||||
TEST(FunctorActionTest, UnusedArguments) {
|
||||
// Verify that users can ignore uninteresting arguments.
|
||||
Action<int(int, double y, const int&)> a =
|
||||
Action<int(int, double y, double z)> a =
|
||||
[](int i, Unused, Unused) { return 2 * i; };
|
||||
int nine = 9;
|
||||
tuple<int, double, const int&> dummy = make_tuple(3, 7.3, nine);
|
||||
tuple<int, double, const int&> dummy = make_tuple(3, 7.3, 9.44);
|
||||
EXPECT_EQ(6, a.Perform(dummy));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user