1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-23 22:37:55 +02:00

clean trailing whitespace

This commit is contained in:
Andrey Filipenkov
2025-10-30 01:32:24 +03:00
parent cf52af5caa
commit 7b60059d3b

View File

@@ -801,14 +801,14 @@ namespace ERMConverter
fmt % target % v.str() % opt; fmt % target % v.str() % opt;
put(fmt.str()); put(fmt.str());
} }
for(int i = paramIndex; i < trig.params->size(); i++) for(int i = paramIndex; i < trig.params->size(); i++)
{ {
opt = std::visit(VR_X(), (*trig.params)[i]); opt = std::visit(VR_X(), (*trig.params)[i]);
if(i > paramIndex) put(","); if(i > paramIndex) put(",");
put(opt); put(opt);
} }
putLine(")"); putLine(")");
} }
break; break;
@@ -1183,7 +1183,7 @@ namespace ERMConverter
} }
void operator()(const boost::recursive_wrapper<VNode> & opt) const; void operator()(const boost::recursive_wrapper<VNode> & opt) const;
void operator()(const VSymbol & opt) const void operator()(const VSymbol & opt) const
{ {
(*out) << "\"" << opt.text << "\""; (*out) << "\"" << opt.text << "\"";
} }
@@ -1589,7 +1589,7 @@ namespace VERMInterpreter
struct OptionConverterVisitor struct OptionConverterVisitor
{ {
VOption operator()(const boost::recursive_wrapper<ERM::TVExp>& cmd) const VOption operator()(const boost::recursive_wrapper<ERM::TVExp>& cmd) const
{ {
return boost::recursive_wrapper<VNode>(VNode(cmd.get())); return boost::recursive_wrapper<VNode>(VNode(cmd.get()));
} }
VOption operator()(const ERM::TSymbol & cmd) const VOption operator()(const ERM::TSymbol & cmd) const
@@ -1599,7 +1599,7 @@ namespace VERMInterpreter
else else
return boost::recursive_wrapper<VNode>(VNode(cmd)); return boost::recursive_wrapper<VNode>(VNode(cmd));
} }
VOption operator()(const char & cmd) const VOption operator()(const char & cmd) const
{ {
return TLiteral(cmd); return TLiteral(cmd);
} }