Fix for building with gcc

This commit is contained in:
Yorik van Havre
2013-08-02 11:48:26 -03:00
parent 9136b83223
commit e936ba8391
+1 -1
View File
@@ -47,7 +47,7 @@
%typemap(in) IfcEntities {
if (PySequence_Check($input)) {
$1 = std::make_shared<IfcEntityList>();
$1 = SHARED_PTR<IfcEntityList>(new IfcEntityList());
for(Py_ssize_t i = 0; i < PySequence_Size($input); ++i) {
PyObject* obj = PySequence_GetItem($input, i);
if (obj) {