clang-tidy modernize-use-auto

This commit is contained in:
Michael Cook (mackal)
2016-05-25 16:10:28 -04:00
parent cdbeb24a05
commit 60da544d3a
87 changed files with 1465 additions and 1340 deletions
+1 -2
View File
@@ -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())));
}
}