don't need fix for boost > 1.60

This commit is contained in:
Joachim Schöberl 2016-08-07 12:34:37 +02:00
parent 38b6f377ff
commit 6c0c30104a
2 changed files with 2 additions and 3 deletions

View File

@ -210,7 +210,7 @@ DLL_HEADER void ExportCSG()
([] (double x, double y) { return Vec<2>(x,y); }));
#if BOOST_VERSION >= 106000
#if (BOOST_VERSION >= 106000) && (BOOST_VERSION < 106100)
bp::register_ptr_to_python<shared_ptr<SPSolid>>();
#endif
bp::class_<SPSolid, shared_ptr<SPSolid>, boost::noncopyable> ("Solid", bp::no_init)

View File

@ -303,8 +303,7 @@ DLL_HEADER void ExportNetgenMeshing()
ExportArray<FaceDescriptor>();
;
#if BOOST_VERSION >= 106000
#if (BOOST_VERSION >= 106000) && (BOOST_VERSION < 106100)
bp::register_ptr_to_python<shared_ptr<Mesh>>();
#endif
bp::class_<Mesh,shared_ptr<Mesh>,boost::noncopyable>("Mesh", bp::no_init)