From cadcf3bd3bfea17db3127609e490219e45682ff5 Mon Sep 17 00:00:00 2001 From: John Fletcher Date: Sat, 25 Jan 2014 23:39:18 +0000 Subject: [PATCH] include/boost/phoenix/core/detail/phx2_result.hpp Change check to check_ to avoid Mac macro --- include/boost/phoenix/core/detail/phx2_result.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/boost/phoenix/core/detail/phx2_result.hpp b/include/boost/phoenix/core/detail/phx2_result.hpp index 76babd2..3f7f485 100644 --- a/include/boost/phoenix/core/detail/phx2_result.hpp +++ b/include/boost/phoenix/core/detail/phx2_result.hpp @@ -23,13 +23,13 @@ namespace boost { namespace phoenix { typedef char (&no)[2]; template - static yes check(typename A::type *); + static yes check_(typename A::type *); template - static no check(...); + static no check_(...); - static bool const value = (sizeof(yes) == sizeof(check(0))); + static bool const value = (sizeof(yes) == sizeof(check_(0))); typedef boost::mpl::bool_ type; };