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:
@@ -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 "";
|
||||
|
||||
Reference in New Issue
Block a user