Finally debugged the root cause!

release/4.3a0
Fan Jiang 2022-05-07 15:53:36 -07:00
parent 28b216b72f
commit e2a2634652
1 changed files with 2 additions and 1 deletions

View File

@ -11,7 +11,8 @@
* mutations on Python side will not be reflected on C++.
*/
#include <pybind11/stl.h>
// Including <stl.h> can cause some serious hard-to-debug bugs!!!
// #include <pybind11/stl.h>
#include <pybind11/stl_bind.h>
PYBIND11_MAKE_OPAQUE(