mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-30 19:42:17 +00:00
clang-tidy modernize-use-auto
This commit is contained in:
1 parent
cdbeb24a05
commit
60da544d3a
87 files changed
+1465
-1340
No files matched your search
+1
-2
@@ -280,8 +280,7 @@ int Embperl::dosub(const char * subname, const std::vector<std::string> * args,
|
||||
PUSHMARK(SP);
|
||||
if(args && !args->empty())
|
||||
{
|
||||
for(std::vector<std::string>::const_iterator i = args->begin(); i != args->end(); ++i)
|
||||
{
|
||||
for (auto i = args->begin(); i != args->end(); ++i) {
|
||||
XPUSHs(sv_2mortal(newSVpv(i->c_str(), i->length())));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user