We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b05da9d commit 135d912Copy full SHA for 135d912
include/pybind11/pytypes.h
@@ -1640,7 +1640,7 @@ class capsule : public object {
1640
const char *name() const { return PyCapsule_GetName(m_ptr); }
1641
1642
/// Replaces a capsule's name *without* calling the destructor on the existing one.
1643
- void set_name(const char * &new_name) {
+ void set_name(const char *&new_name) {
1644
if (PyCapsule_SetName(m_ptr, value) != 0) {
1645
throw error_already_set();
1646
}
0 commit comments