aboutsummaryrefslogtreecommitdiff
path: root/src/modules/extra/m_sqlite3.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2022-09-04 11:20:16 +0100
committerGravatar Sadie Powell2022-09-04 11:28:10 +0100
commit7076a766db6759ac698fea880616ede9545207cc (patch)
tree24b03370daca1f5ff92a728d9e6abe135a3a2359 /src/modules/extra/m_sqlite3.cpp
parentFix some warnings noticed by the readability-* clang-tidy checkers. (diff)
Use auto in places where it is really obvious what the type is.
Diffstat (limited to 'src/modules/extra/m_sqlite3.cpp')
-rw-r--r--src/modules/extra/m_sqlite3.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/extra/m_sqlite3.cpp b/src/modules/extra/m_sqlite3.cpp
index 0ebd22452..d5b780996 100644
--- a/src/modules/extra/m_sqlite3.cpp
+++ b/src/modules/extra/m_sqlite3.cpp
@@ -264,7 +264,7 @@ public:
if (!stdalgo::string::equalsci(tag->getString("module"), "sqlite"))
continue;
- SQLConn* conn = new SQLConn(this, tag);
+ auto conn = new SQLConn(this, tag);
conns.emplace(tag->getString("id"), conn);
ServerInstance->Modules.AddService(*conn);
}