mirror of
https://github.com/pybind/pybind11.git
synced 2026-06-06 07:51:47 +00:00
* Don't return pointers to static objects with return_value_policy::take_ownership. This fixes -Wfree-nonheap-object warnings produced by GCC. * Use return value policy fix instead Co-authored-by: Aaron Gokaslan <skylion.aaron@gmail.com>
16 KiB
16 KiB