From f8d3ed22bf434b11af581e11107e478f91943a94 Mon Sep 17 00:00:00 2001 From: Aaron Gokaslan Date: Sun, 20 Feb 2022 15:01:57 -0500 Subject: [PATCH] Remove unnecessary initialization --- 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 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)