Use auto instead of nested iterator type name

No real changes, just simplify the code a bit.
This commit is contained in:
Vadim Zeitlin
2026-08-19 22:57:44 +02:00
parent e41ad80743
commit a8ca75c965

View File

@@ -330,8 +330,7 @@ postgresql_statement_backend::execute(int number)
for (auto const& s : names_)
{
UseByNameBuffersMap::iterator b
= useByNameBuffers_.find(s);
auto const b = useByNameBuffers_.find(s);
if (b == useByNameBuffers_.end())
{
std::string msg(