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