mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-26 15:12:01 +00:00
Resolve new clang-tidy error (after upgrade to clang15 with PR #4387)
This commit is contained in:
parent
94eb9ce370
commit
8ece7d641c
@ -403,6 +403,7 @@ struct shared_ptr_trampoline_self_life_support {
|
||||
gil_scoped_acquire gil;
|
||||
Py_INCREF(self);
|
||||
}
|
||||
// NOLINTNEXTLINE(readability-make-member-function-const)
|
||||
void operator()(void *) {
|
||||
gil_scoped_acquire gil;
|
||||
Py_DECREF(self);
|
||||
|
Loading…
Reference in New Issue
Block a user