mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 22:58:34 +00:00
clang-tidy modernize-use-auto
This commit is contained in:
+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