From 446b085d6cc4a4665273ec78ae4514639e98ae8a Mon Sep 17 00:00:00 2001 From: "Michael Cook (mackal)" Date: Fri, 9 Jan 2015 03:05:14 -0500 Subject: [PATCH] clang-modernize -use-auto convert for world/eqw_parser.cpp --- world/eqw_parser.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/world/eqw_parser.cpp b/world/eqw_parser.cpp index 9aa372308..172c839d7 100644 --- a/world/eqw_parser.cpp +++ b/world/eqw_parser.cpp @@ -229,8 +229,7 @@ bool EQWParser::dosub(const char * subname, const std::vector &args PUSHMARK(SP); // remember the stack pointer if(args.size() > 0) { - for(std::vector::const_iterator i = args.begin(); i != args.end(); ++i) - {/* push the arguments onto the perl stack */ + for (auto i = args.begin(); i != args.end(); ++i) { /* push the arguments onto the perl stack */ XPUSHs(sv_2mortal(newSVpv(i->c_str(), i->length()))); } }