mirror of
https://github.com/pybind/pybind11.git
synced 2025-01-31 15:20:34 +00:00
Apply clang-tidy suggestion.
This commit is contained in:
parent
262998b317
commit
3cc2c9cd45
@ -49,7 +49,7 @@ TEST_SUBMODULE(type_caster_odr_guard_1, m) {
|
||||
m.def("type_caster_odr_guard_registry_values", []() {
|
||||
#ifdef PYBIND11_TYPE_CASTER_ODR_GUARD_ON
|
||||
py::list values;
|
||||
for (auto reg_iter : py::detail::type_caster_odr_guard_registry()) {
|
||||
for (const auto ®_iter : py::detail::type_caster_odr_guard_registry()) {
|
||||
values.append(py::str(reg_iter.second));
|
||||
}
|
||||
return values;
|
||||
|
Loading…
Reference in New Issue
Block a user