Skip to content

Commit 135d912

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent b05da9d commit 135d912

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/pybind11/pytypes.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1640,7 +1640,7 @@ class capsule : public object {
16401640
const char *name() const { return PyCapsule_GetName(m_ptr); }
16411641

16421642
/// Replaces a capsule's name *without* calling the destructor on the existing one.
1643-
void set_name(const char * &new_name) {
1643+
void set_name(const char *&new_name) {
16441644
if (PyCapsule_SetName(m_ptr, value) != 0) {
16451645
throw error_already_set();
16461646
}

0 commit comments

Comments
 (0)