1
0
mirror of https://github.com/anope/anope.git synced 2026-07-03 18:03:14 +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
@@ -83,7 +83,7 @@ static Anope::string FindReplacement(const TemplateFileServer::Replacements &r,
}
}
TemplateFileServer::Replacements::const_iterator it = r.find(key);
auto it = r.find(key);
if (it != r.end())
return it->second;
return "";