From 244aa5262be9e0c698a7752964fbbf495f2b71d3 Mon Sep 17 00:00:00 2001 From: Aaron Gokaslan Date: Sun, 13 Feb 2022 14:18:45 -0500 Subject: [PATCH] Try removing mutable --- 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 ab6cc3473..8678d7003 100644 --- a/include/pybind11/pytypes.h +++ b/include/pybind11/pytypes.h @@ -449,7 +449,7 @@ public: private: mutable std::string m_lazy_what; - mutable object m_type, m_value, m_trace; + object m_type, m_value, m_trace; }; #if defined(_MSC_VER) # pragma warning(pop)