From 0aee425b3ba88e17c84ac0e5fb3759abbbbc4905 Mon Sep 17 00:00:00 2001 From: Aaron Gokaslan Date: Sun, 8 May 2022 10:46:23 -0400 Subject: [PATCH] Clang-Tidy fix --- 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 33333c7cb..63ed634f5 100644 --- a/include/pybind11/pytypes.h +++ b/include/pybind11/pytypes.h @@ -388,7 +388,7 @@ public: } } - error_already_set(const error_already_set &e) = default; + error_already_set(const error_already_set &) = default; error_already_set(error_already_set &&e) noexcept : std::runtime_error(e), m_type{std::move(e.m_type)}, m_value{std::move(e.m_value)}, m_trace{std::move(e.m_trace)}, m_lazy_what{std::move(e.m_lazy_what)} {};