From 7b60059d3bc44703daa2e5fca7d64c591e518983 Mon Sep 17 00:00:00 2001 From: Andrey Filipenkov Date: Thu, 30 Oct 2025 01:32:24 +0300 Subject: [PATCH] clean trailing whitespace --- scripting/erm/ERMInterpreter.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scripting/erm/ERMInterpreter.cpp b/scripting/erm/ERMInterpreter.cpp index 25a2212f0..f3bcdd878 100644 --- a/scripting/erm/ERMInterpreter.cpp +++ b/scripting/erm/ERMInterpreter.cpp @@ -801,14 +801,14 @@ namespace ERMConverter fmt % target % v.str() % opt; put(fmt.str()); } - + for(int i = paramIndex; i < trig.params->size(); i++) { opt = std::visit(VR_X(), (*trig.params)[i]); if(i > paramIndex) put(","); put(opt); } - + putLine(")"); } break; @@ -1183,7 +1183,7 @@ namespace ERMConverter } void operator()(const boost::recursive_wrapper & opt) const; - void operator()(const VSymbol & opt) const + void operator()(const VSymbol & opt) const { (*out) << "\"" << opt.text << "\""; } @@ -1589,7 +1589,7 @@ namespace VERMInterpreter struct OptionConverterVisitor { VOption operator()(const boost::recursive_wrapper& cmd) const - { + { return boost::recursive_wrapper(VNode(cmd.get())); } VOption operator()(const ERM::TSymbol & cmd) const @@ -1599,7 +1599,7 @@ namespace VERMInterpreter else return boost::recursive_wrapper(VNode(cmd)); } - VOption operator()(const char & cmd) const + VOption operator()(const char & cmd) const { return TLiteral(cmd); }