File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1505,11 +1505,11 @@ void check_for_holder_mismatch_impl() {
1505
1505
#ifdef NDEBUG
1506
1506
pybind11_fail (" Mismatched holders detected (compile in debug mode for details)" );
1507
1507
#else
1508
- std::string seen_holder_name (base_info->holder_type ->name ());
1509
- detail::clean_type_id (seen_holder_name );
1508
+ std::string holder_name (base_info->holder_type ->name ());
1509
+ detail::clean_type_id (holder_name );
1510
1510
pybind11_fail (" Mismatched holders detected: "
1511
1511
" attempting to use holder type " + type_id<iholder>() + " , but " + type_id<base_type>() +
1512
- " was already seen using holder type " + seen_holder_name );
1512
+ " was declared using holder type " + holder_name );
1513
1513
#endif
1514
1514
}
1515
1515
}
You can’t perform that action at this time.
0 commit comments