From a657e5c8124ef9166fdac14ed1a07f518a2eb88d Mon Sep 17 00:00:00 2001 From: Douglas Gregor Date: Mon, 19 Nov 2001 20:57:57 +0000 Subject: [PATCH] Reversed prior commit - tests passing references for the implicit object parameter to an unbound member function pointer have been added again. [SVN r11732] --- test/function_n_test.cpp | 6 +++--- test/function_test.cpp | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/test/function_n_test.cpp b/test/function_n_test.cpp index a560198..3d62bce 100644 --- a/test/function_n_test.cpp +++ b/test/function_n_test.cpp @@ -598,9 +598,9 @@ test_member_functions() BOOST_TEST(f1_2(&one) == 2); BOOST_TEST(f1_2(&five) == 10); - boost::function2 f2(&X::plus); - BOOST_TEST(f2(&one, 3) == 4); - BOOST_TEST(f2(&five, 4) == 9); + boost::function2 f2(&X::plus); + BOOST_TEST(f2(one, 3) == 4); + BOOST_TEST(f2(five, 4) == 9); } int test_main(int, char* []) diff --git a/test/function_test.cpp b/test/function_test.cpp index 9529ede..d735ff2 100644 --- a/test/function_test.cpp +++ b/test/function_test.cpp @@ -598,9 +598,9 @@ test_member_functions() BOOST_TEST(f1_2(&one) == 2); BOOST_TEST(f1_2(&five) == 10); - boost::function f2(&X::plus); - BOOST_TEST(f2(&one, 3) == 4); - BOOST_TEST(f2(&five, 4) == 9); + boost::function f2(&X::plus); + BOOST_TEST(f2(one, 3) == 4); + BOOST_TEST(f2(five, 4) == 9); } int test_main(int, char* [])