mirror of
https://github.com/anope/anope.git
synced 2026-07-09 03:43:12 +02:00
Use auto in places where the type is unambiguous.
This commit is contained in:
+1
-1
@@ -320,7 +320,7 @@ static StackerInfo *GetInfo(List &l, Object *o)
|
||||
if (it != l.end())
|
||||
return it->second;
|
||||
|
||||
StackerInfo *s = new StackerInfo();
|
||||
auto *s = new StackerInfo();
|
||||
l[o] = s;
|
||||
return s;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user