pybind11/include
Ralf W. Grosse-Kunstleve de84a27fd4 Bug fix: Remove what(); from restore().
It sure would need to be guarded by `if (m_type)`, otherwise `what()` fails and masks that no error was set (see update unit test). But since `error_already_set` is copyable, there is no point in releasing m_type, m_value, m_trace, therefore we can just as well avoid the runtime overhead of force-building `m_lazy_what`, it may never be used.
2022-05-10 17:59:27 -07:00
..
pybind11 Bug fix: Remove what(); from restore(). 2022-05-10 17:59:27 -07:00