20123c5
From f410fbd64d887e2a8824f968b0533588489b5430 Mon Sep 17 00:00:00 2001
20123c5
From: Jonathan Wakely <jwakely@redhat.com>
20123c5
Date: Wed, 2 Sep 2015 13:02:12 +0100
20123c5
Subject: [PATCH] Python: Fix condition for make_setter overload.
20123c5
20123c5
This fixes the regression caused by 42e7d7b.
20123c5
20123c5
Fixes #39
20123c5
---
20123c5
 include/boost/python/data_members.hpp | 2 +-
20123c5
 1 file changed, 1 insertion(+), 1 deletion(-)
20123c5
20123c5
diff --git a/include/boost/python/data_members.hpp b/include/boost/python/data_members.hpp
20123c5
index 139bde3..5d3309c 100644
20123c5
--- a/include/boost/python/data_members.hpp
20123c5
+++ b/include/boost/python/data_members.hpp
20123c5
@@ -305,7 +305,7 @@ inline object make_setter(D& x)
20123c5
     return detail::make_setter(x, default_call_policies(), is_member_pointer<D>(), 0);
20123c5
 }
20123c5
 
20123c5
-# if BOOST_WORKAROUND(__EDG_VERSION__, <= 238)
20123c5
+# if !BOOST_WORKAROUND(__EDG_VERSION__, <= 238)
20123c5
 template <class D>
20123c5
 inline object make_setter(D const& x)
20123c5
 {