Cosmetics: assorted fixes on the coding style

This commit is contained in:
Felipe Zimmerle
2017-01-20 17:33:33 -03:00
committed by Felipe Zimmerle
parent a88dc8efa9
commit c1f11ab4e5
69 changed files with 76 additions and 125 deletions

View File

@@ -326,7 +326,8 @@ std::list<std::pair<std::unique_ptr<std::string>,
for (Action *a : trasn->m_rules->m_defaultActions[this->phase]) {
if (a->action_kind \
== actions::Action::RunTimeBeforeMatchAttemptKind) {
newValue = std::unique_ptr<std::string>(new std::string(a->evaluate(*value, trasn)));
newValue = std::unique_ptr<std::string>(
new std::string(a->evaluate(*value, trasn)));
if (multiMatch == true) {
if (*newValue != *value) {
@@ -354,7 +355,8 @@ std::list<std::pair<std::unique_ptr<std::string>,
for (Action *a : this->m_actionsRuntimePre) {
if (none == 0) {
newValue = std::unique_ptr<std::string>(new std::string(a->evaluate(*value, trasn)));
newValue = std::unique_ptr<std::string>(
new std::string(a->evaluate(*value, trasn)));
if (multiMatch == true) {
if (*value != *newValue) {
@@ -388,9 +390,6 @@ std::list<std::pair<std::unique_ptr<std::string>,
trasn->debug(9, "multiMatch is enabled. " \
+ std::to_string(ret.size()) + \
" values to be tested.");
//for (const std::string *a : ret) {
// trasn->debug(9, " - " + *a);
//}
} else {
ret.push_back(std::make_pair(
std::move(value),