From 50db384be18ced36be0774bd0ecf4c4ceea57b93 Mon Sep 17 00:00:00 2001 From: Joel de Guzman Date: Tue, 9 Sep 2003 13:13:44 +0000 Subject: [PATCH] Used BOOST_WORKAROUND [SVN r19980] --- include/boost/python/suite/indexing/indexing_suite.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/boost/python/suite/indexing/indexing_suite.hpp b/include/boost/python/suite/indexing/indexing_suite.hpp index c9cc922b..e2dc4a85 100644 --- a/include/boost/python/suite/indexing/indexing_suite.hpp +++ b/include/boost/python/suite/indexing/indexing_suite.hpp @@ -126,10 +126,10 @@ namespace boost { namespace python { typedef detail::container_element container_element_t; -#if !defined(BOOST_MSVC) || (BOOST_MSVC > 1200) - typedef return_internal_reference<> return_policy; -#else +#if BOOST_WORKAROUND(BOOST_MSVC, == 1200) struct return_policy : return_internal_reference<> {}; +#else + typedef return_internal_reference<> return_policy; #endif typedef typename mpl::if_<