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