Resolve new clang-tidy error (after upgrade to clang15 with PR #4387)

This commit is contained in:
Ralf W. Grosse-Kunstleve 2023-01-03 20:42:38 -08:00
parent 94eb9ce370
commit 8ece7d641c

View File

@ -403,6 +403,7 @@ struct shared_ptr_trampoline_self_life_support {
gil_scoped_acquire gil; gil_scoped_acquire gil;
Py_INCREF(self); Py_INCREF(self);
} }
// NOLINTNEXTLINE(readability-make-member-function-const)
void operator()(void *) { void operator()(void *) {
gil_scoped_acquire gil; gil_scoped_acquire gil;
Py_DECREF(self); Py_DECREF(self);