summaryrefslogtreecommitdiff
path: root/libs/python/src/dict.cpp
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2016-11-14 16:58:13 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2016-11-14 16:58:13 +0900
commit49f495ff20f3c7e1a0af68be6c147a0e1b907740 (patch)
tree7c711b8a9ccbf66a2da3bfcd0085b06e13d2c638 /libs/python/src/dict.cpp
parent2212a42dc9bc8e6fea9d1dfaf7d2325c3a82b6ab (diff)
downloadboost-49f495ff20f3c7e1a0af68be6c147a0e1b907740.tar.gz
boost-49f495ff20f3c7e1a0af68be6c147a0e1b907740.tar.bz2
boost-49f495ff20f3c7e1a0af68be6c147a0e1b907740.zip
Bump to Boost 1.62.0
[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/dict.cpp')
-rw-r--r--libs/python/src/dict.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/python/src/dict.cpp b/libs/python/src/dict.cpp
index 5e196ff678..77d840d455 100644
--- a/libs/python/src/dict.cpp
+++ b/libs/python/src/dict.cpp
@@ -28,9 +28,9 @@ namespace
detail::new_reference dict_base::call(object const& arg_)
{
- union { PyTypeObject *ptop; PyObject *pop; }pun = { &PyDict_Type };
return (detail::new_reference)PyObject_CallFunction(
- pun.pop, const_cast<char*>("(O)"), arg_.ptr());
+ (PyObject*)&PyDict_Type, const_cast<char*>("(O)"),
+ arg_.ptr());
}
dict_base::dict_base()