Skip to content

Commit

Permalink
Fix func signature
Browse files Browse the repository at this point in the history
  • Loading branch information
Skylion007 committed Oct 21, 2022
1 parent 8bf086f commit 8ca0e10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/pybind11/pybind11.h
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ inline const char *function_capsule_name() {
return name;
}

inline bool is_function_record_capsule(capsule &cap) {
inline bool is_function_record_capsule(const capsule &cap) {
// Compare the pointers, not the values to ensure that each extension is unique
return cap.name() == function_capsule_name();
}
Expand Down

0 comments on commit 8ca0e10

Please sign in to comment.