mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 17:51:28 +00:00
clang-modernize -use-auto convert for world/eqw_parser.cpp
This commit is contained in:
parent
0956575292
commit
446b085d6c
@ -229,8 +229,7 @@ bool EQWParser::dosub(const char * subname, const std::vector<std::string> &args
|
|||||||
PUSHMARK(SP); // remember the stack pointer
|
PUSHMARK(SP); // remember the stack pointer
|
||||||
if(args.size() > 0)
|
if(args.size() > 0)
|
||||||
{
|
{
|
||||||
for(std::vector<std::string>::const_iterator i = args.begin(); i != args.end(); ++i)
|
for (auto i = args.begin(); i != args.end(); ++i) { /* push the arguments onto the perl stack */
|
||||||
{/* push the arguments onto the perl stack */
|
|
||||||
XPUSHs(sv_2mortal(newSVpv(i->c_str(), i->length())));
|
XPUSHs(sv_2mortal(newSVpv(i->c_str(), i->length())));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user