Undo accidental one-line change under PR #3913 (#4060)

This commit is contained in:
Ralf W. Grosse-Kunstleve 2022-07-12 12:02:20 -07:00 committed by GitHub
parent 790241bce2
commit 023b3f32c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1625,7 +1625,7 @@ unpacking_collector<policy> collect_arguments(Args &&...args) {
template <typename Derived>
template <return_value_policy policy, typename... Args>
object object_api<Derived>::operator()(Args &&...args) const {
#if defined(PYBIND11_DETAILED_ERROR_MESSAGES)
#ifndef NDEBUG
if (!PyGILState_Check()) {
pybind11_fail("pybind11::object_api<>::operator() PyGILState_Check() failure.");
}