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