remove warnings for boost::python < 1.60

This commit is contained in:
Matthias Hochsteger
2016-01-29 15:23:58 +01:00
parent fc50af5462
commit da7cd7c0ad
2 changed files with 4 additions and 0 deletions

View File

@@ -296,7 +296,9 @@ DLL_HEADER void ExportNetgenMeshing()
;
#if BOOST_VERSION < 106000
bp::register_ptr_to_python<shared_ptr<Mesh>>();
#endif
bp::class_<Mesh,shared_ptr<Mesh>,boost::noncopyable>("Mesh", bp::no_init)
// .def(bp::init<>("create empty mesh"))