diff --git a/include/pybind11/pytypes.h b/include/pybind11/pytypes.h index 8abb85cc3..3fdaa46de 100644 --- a/include/pybind11/pytypes.h +++ b/include/pybind11/pytypes.h @@ -457,7 +457,7 @@ public: const object &trace() const { return m_trace; } private: - mutable std::string m_lazy_what{}; + mutable std::string m_lazy_what; mutable object m_type, m_value, m_trace; }; #if defined(_MSC_VER)