fix wrap preamble
parent
f4420f2c8d
commit
cc2183adb3
|
@ -11,3 +11,10 @@
|
||||||
* mutations on Python side will not be reflected on C++.
|
* mutations on Python side will not be reflected on C++.
|
||||||
*/
|
*/
|
||||||
#include <pybind11/stl.h>
|
#include <pybind11/stl.h>
|
||||||
|
|
||||||
|
// NOTE: Needed since we are including pybind11/stl.h.
|
||||||
|
#ifdef GTSAM_ALLOCATOR_TBB
|
||||||
|
PYBIND11_MAKE_OPAQUE(std::vector<gtsam::Key, tbb::tbb_allocator<gtsam::Key>>);
|
||||||
|
#else
|
||||||
|
PYBIND11_MAKE_OPAQUE(std::vector<gtsam::Key>);
|
||||||
|
#endif
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
|
|
Loading…
Reference in New Issue