Skip to content

Commit 50db384

Browse files
committed
Used BOOST_WORKAROUND
[SVN r19980]
1 parent ae7225a commit 50db384

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

include/boost/python/suite/indexing/indexing_suite.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,10 +126,10 @@ namespace boost { namespace python {
126126
typedef detail::container_element<Container, Index, DerivedPolicies>
127127
container_element_t;
128128

129-
#if !defined(BOOST_MSVC) || (BOOST_MSVC > 1200)
130-
typedef return_internal_reference<> return_policy;
131-
#else
129+
#if BOOST_WORKAROUND(BOOST_MSVC, == 1200)
132130
struct return_policy : return_internal_reference<> {};
131+
#else
132+
typedef return_internal_reference<> return_policy;
133133
#endif
134134

135135
typedef typename mpl::if_<

0 commit comments

Comments
 (0)