This PR modernizes the map iterations in src/banman.cpp by utilizing C++17 structured bindings.
Replacing manual it.first/it.second access with const auto& [sub_net, ban_entry] = ... makes the code significantly more readable and expressive.
This PR modernizes the map iterations in src/banman.cpp by utilizing C++17 structured bindings.
Replacing manual it.first/it.second access with const auto& [sub_net, ban_entry] = ... makes the code significantly more readable and expressive.
<!--e57a25ab6845829454e8d69fc972939a-->
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
<!--006a51241073e994b41acfe9ec718e94-->
For details see: https://corecheck.dev/bitcoin/bitcoin/pulls/35806.
<!--021abf342d371248e50ceaed478a90ca-->
See the guideline and AI policy for information on the review process. A summary of reviews will appear here.
<!--5faf32d7da4f0f540f40219e4f7537a3-->
This change doesn't seem worth the review required to get this merged. Closing again.