diff --git a/include/pybind11/pytypes.h b/include/pybind11/pytypes.h index b4798cc75..75c03d128 100644 --- a/include/pybind11/pytypes.h +++ b/include/pybind11/pytypes.h @@ -391,7 +391,7 @@ public: } error_already_set(const error_already_set &) = default; - error_already_set(error_already_set &&) noexcept = default; + error_already_set(error_already_set &&) = default; inline ~error_already_set() override;