From 7076a766db6759ac698fea880616ede9545207cc Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sun, 4 Sep 2022 11:20:16 +0100 Subject: Use auto in places where it is really obvious what the type is. --- src/modules/extra/m_pgsql.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/extra/m_pgsql.cpp') diff --git a/src/modules/extra/m_pgsql.cpp b/src/modules/extra/m_pgsql.cpp index e388f377f..1e6ae751c 100644 --- a/src/modules/extra/m_pgsql.cpp +++ b/src/modules/extra/m_pgsql.cpp @@ -561,7 +561,7 @@ public: ConnMap::iterator curr = connections.find(id); if (curr == connections.end()) { - SQLConn* conn = new SQLConn(this, tag); + auto conn = new SQLConn(this, tag); if (conn->status != DEAD) { conns.emplace(id, conn); -- cgit v1.3.1-10-gc9f91