From f0c5e5e95b4600eae5ffeccb1a3a4d122b76d4a9 Mon Sep 17 00:00:00 2001 From: Douglas Gregor Date: Wed, 11 Feb 2004 18:16:55 +0000 Subject: [PATCH] Work around a GCC 2.95.3 bug triggered by the workaround to a VC++ 7.1 bug... [SVN r22242] --- include/boost/function/function_base.hpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/include/boost/function/function_base.hpp b/include/boost/function/function_base.hpp index 110ead2..e706736 100644 --- a/include/boost/function/function_base.hpp +++ b/include/boost/function/function_base.hpp @@ -486,10 +486,17 @@ namespace detail { return f->empty(); } +#if BOOST_WORKAROUND(BOOST_MSVC, <= 1310) inline bool has_empty_target(const void*) { return false; } +#else + inline bool has_empty_target(...) + { + return false; + } +#endif } // end namespace function } // end namespace detail } // end namespace boost