From 1f249a29bd7053b488e1964264fe910322986a74 Mon Sep 17 00:00:00 2001 From: Aleksey Gurtovoy Date: Sat, 30 Oct 2004 08:20:20 +0000 Subject: [PATCH] invert incorrect Borland check [SVN r25963] --- test/for_each.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/for_each.cpp b/test/for_each.cpp index 3b16fc3..17d0a04 100644 --- a/test/for_each.cpp +++ b/test/for_each.cpp @@ -64,14 +64,14 @@ int main() std::vector v; #if BOOST_WORKAROUND(__BORLANDC__, >= 0x561) - mpl::for_each( - boost::bind(&std::vector::push_back, &v, _1) - ); -#else void (std::vector::* push_back)(int const&) = &std::vector::push_back; mpl::for_each( boost::bind(push_back, &v, _1) ); +#else + mpl::for_each( + boost::bind(&std::vector::push_back, &v, _1) + ); #endif mpl::for_each< numbers >(value_printer(std::cout));