1
0
mirror of https://github.com/anope/anope.git synced 2026-07-09 06:43:13 +02:00

Use auto in places where the type is unambiguous.

This commit is contained in:
Sadie Powell
2024-01-06 13:23:37 +00:00
parent de918ef9cf
commit a9ab0c72a6
39 changed files with 62 additions and 62 deletions
+1 -1
View File
@@ -106,7 +106,7 @@ private:
return;
/* We can't akill x as it has a nick and/or realname included, so create a new akill for *@host */
XLine *xline = new XLine("*@" + u->host, old->by, old->expires, old->reason, old->id);
auto *xline = new XLine("*@" + u->host, old->by, old->expires, old->reason, old->id);
old->manager->AddXLine(xline);
x = xline;