mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-28 08:02:00 +00:00
97a62ebef2
As reported in #1349, clang before 3.5 can segfault on a function-local variable referenced inside a lambda. This moves the function-local static into a separate function that the lambda can invoke to avoid the issue. Fixes #1349 |
||
---|---|---|
.. | ||
pybind11 |