aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/restricted/boost/python/src/object/life_support.cpp
diff options
context:
space:
mode:
authorrobot-contrib <robot-contrib@yandex-team.com>2022-09-17 22:03:44 +0300
committerrobot-contrib <robot-contrib@yandex-team.com>2022-09-17 22:03:44 +0300
commit49726f2627f20969d8e6358fc107bdf139c87f99 (patch)
treef94d610e293cb577fbf973b1d0ac07c005c948d0 /contrib/restricted/boost/python/src/object/life_support.cpp
parente4065899cddff8a7bde3bc774f33e9b6bebd961c (diff)
downloadydb-49726f2627f20969d8e6358fc107bdf139c87f99.tar.gz
Update contrib/restricted/boost/interprocess to 1.80.0
Diffstat (limited to 'contrib/restricted/boost/python/src/object/life_support.cpp')
-rw-r--r--contrib/restricted/boost/python/src/object/life_support.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/restricted/boost/python/src/object/life_support.cpp b/contrib/restricted/boost/python/src/object/life_support.cpp
index b7e9aa861e..281c3bffc5 100644
--- a/contrib/restricted/boost/python/src/object/life_support.cpp
+++ b/contrib/restricted/boost/python/src/object/life_support.cpp
@@ -93,7 +93,7 @@ PyObject* make_nurse_and_patient(PyObject* nurse, PyObject* patient)
if (Py_TYPE(&life_support_type) == 0)
{
- Py_TYPE(&life_support_type) = &PyType_Type;
+ Py_SET_TYPE(&life_support_type, &PyType_Type);
PyType_Ready(&life_support_type);
}