mirror of
https://github.com/allankoechke/soci.git
synced 2026-11-30 10:58:24 +00:00
Use auto instead of nested iterator type name
No real changes, just simplify the code a bit.
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user