From b020e0427534906981f43c653cc3b7e99c9d3dce Mon Sep 17 00:00:00 2001 From: "Ralf W. Grosse-Kunstleve" Date: Thu, 12 May 2022 00:29:04 -0700 Subject: [PATCH] Remove mutable (fixes oversight in the previous commit). --- include/pybind11/pytypes.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/pybind11/pytypes.h b/include/pybind11/pytypes.h index 912c4a3cb..847a7b34a 100644 --- a/include/pybind11/pytypes.h +++ b/include/pybind11/pytypes.h @@ -498,7 +498,7 @@ public: const object &trace() const { return m_trace; } private: - mutable object m_type, m_value, m_trace; + object m_type, m_value, m_trace; mutable std::string m_lazy_what; }; #if defined(_MSC_VER)