File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -268,7 +268,7 @@ class type_caster<void> : public type_caster<void_type> {
268
268
}
269
269
270
270
/* Check if this is a C++ type */
271
- const const auto &bases = all_type_info ((PyTypeObject *) type::handle_of (h).ptr ());
271
+ const auto &bases = all_type_info ((PyTypeObject *) type::handle_of (h).ptr ());
272
272
if (bases.size () == 1 ) { // Only allowing loading from a single-value type
273
273
value = values_and_holders (reinterpret_cast <instance *>(h.ptr ())).begin ()->value_ptr ();
274
274
return true ;
Original file line number Diff line number Diff line change @@ -384,7 +384,7 @@ class cpp_function : public function {
384
384
std::string signature;
385
385
size_t type_index = 0 , arg_index = 0 ;
386
386
bool is_starred = false ;
387
- for (const const auto *pc = text; *pc != ' \0 ' ; ++pc) {
387
+ for (const auto *pc = text; *pc != ' \0 ' ; ++pc) {
388
388
const auto c = *pc;
389
389
390
390
if (c == ' {' ) {
You can’t perform that action at this time.
0 commit comments