Skip to content

Commit 8ece7d6

Browse files
committed
Resolve new clang-tidy error (after upgrade to clang15 with PR #4387)
1 parent 94eb9ce commit 8ece7d6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/pybind11/detail/smart_holder_type_casters.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -403,6 +403,7 @@ struct shared_ptr_trampoline_self_life_support {
403403
gil_scoped_acquire gil;
404404
Py_INCREF(self);
405405
}
406+
// NOLINTNEXTLINE(readability-make-member-function-const)
406407
void operator()(void *) {
407408
gil_scoped_acquire gil;
408409
Py_DECREF(self);

0 commit comments

Comments
 (0)