diff --git a/include/pybind11/detail/internals.h b/include/pybind11/detail/internals.h index 462d32474..5c11b40a4 100644 --- a/include/pybind11/detail/internals.h +++ b/include/pybind11/detail/internals.h @@ -322,7 +322,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) {