Skip to content

Commit

Permalink
style: pre-commit fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Nov 28, 2022
1 parent f7a90cf commit 23af8e9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions include/pybind11/pybind11.h
Original file line number Diff line number Diff line change
Expand Up @@ -2517,9 +2517,7 @@ class exception : public object {
}

// Sets the current python exception to this exception object with the given message
void operator()(const char *message) {
detail::raise_err(m_ptr, message);
}
void operator()(const char *message) { detail::raise_err(m_ptr, message); }
};

PYBIND11_NAMESPACE_BEGIN(detail)
Expand Down

0 comments on commit 23af8e9

Please sign in to comment.