1
0
mirror of https://github.com/anope/anope.git synced 2026-06-26 18:56:39 +02:00

Use auto in as many places as possible.

This commit is contained in:
Sadie Powell
2026-03-05 18:03:44 +00:00
parent 98703052cc
commit 12545ccbde
72 changed files with 198 additions and 198 deletions
+1 -1
View File
@@ -208,7 +208,7 @@ void Type::UpdateTimestamp()
Type *Serialize::Type::Find(const Anope::string &name)
{
std::map<Anope::string, Type *>::iterator it = Types.find(name);
auto it = Types.find(name);
if (it != Types.end())
return it->second;
return NULL;