summaryrefslogtreecommitdiff
path: root/libs/python/src/list.cpp
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2016-11-14 07:58:13 (GMT)
committerDongHun Kwak <dh0128.kwak@samsung.com>2016-11-14 07:58:13 (GMT)
commit49f495ff20f3c7e1a0af68be6c147a0e1b907740 (patch)
tree7c711b8a9ccbf66a2da3bfcd0085b06e13d2c638 /libs/python/src/list.cpp
parent2212a42dc9bc8e6fea9d1dfaf7d2325c3a82b6ab (diff)
downloadboost-49f495ff20f3c7e1a0af68be6c147a0e1b907740.zip
boost-49f495ff20f3c7e1a0af68be6c147a0e1b907740.tar.gz
boost-49f495ff20f3c7e1a0af68be6c147a0e1b907740.tar.bz2
Bump to Boost 1.62.0refs/changes/57/97457/1
[Model] ALL [BinType] AP [Customer] OPEN [Issue#] N/A [Request] N/A [Occurrence Version] N/A [Problem] Bump to Boost 1.62.0 [Cause & Measure] Bump to Boost 1.62.0 [Checking Method] N/A [Team] Open Source Management and Setting Part [Developer] dh0128.kwak [Solution company] Samsung [Change Type] N/A Change-Id: I97a9168bfa467f74b8345b20b78175157f7676b0 Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
Diffstat (limited to 'libs/python/src/list.cpp')
-rw-r--r--libs/python/src/list.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/python/src/list.cpp b/libs/python/src/list.cpp
index 69f6da4..77e6168 100644
--- a/libs/python/src/list.cpp
+++ b/libs/python/src/list.cpp
@@ -10,11 +10,11 @@ namespace boost { namespace python { namespace detail {
detail::new_non_null_reference list_base::call(object const& arg_)
{
- union{ PyTypeObject *ptop; PyObject *pop; }pun = { &PyList_Type };
return (detail::new_non_null_reference)
(expect_non_null)(
PyObject_CallFunction(
- pun.pop, const_cast<char*>("(O)"), arg_.ptr()));
+ (PyObject*)&PyList_Type, const_cast<char*>("(O)"),
+ arg_.ptr()));
}
list_base::list_base()