From e936ba83910242b4afb1303d08571db88c11d370 Mon Sep 17 00:00:00 2001 From: Yorik van Havre Date: Fri, 2 Aug 2013 11:48:26 -0300 Subject: [PATCH] Fix for building with gcc --- src/ifcwrap/IfcPython.i | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ifcwrap/IfcPython.i b/src/ifcwrap/IfcPython.i index 0d99710255..e4b3abb52d 100644 --- a/src/ifcwrap/IfcPython.i +++ b/src/ifcwrap/IfcPython.i @@ -47,7 +47,7 @@ %typemap(in) IfcEntities { if (PySequence_Check($input)) { - $1 = std::make_shared(); + $1 = SHARED_PTR(new IfcEntityList()); for(Py_ssize_t i = 0; i < PySequence_Size($input); ++i) { PyObject* obj = PySequence_GetItem($input, i); if (obj) {