diff --git a/include/pybind11/detail/internals.h b/include/pybind11/detail/internals.h index 89440935e..f36add66e 100644 --- a/include/pybind11/detail/internals.h +++ b/include/pybind11/detail/internals.h @@ -333,7 +333,7 @@ inline bool raise_err(PyObject *exc_type, const char *msg) { #endif PyErr_SetString(exc_type, msg); return false; -}; +} inline void translate_exception(std::exception_ptr p) { if (!p) {