Avoids copy on the transformation operation

This commit is contained in:
Felipe Zimmerle
2019-02-14 19:46:06 -03:00
parent 8cfb289cea
commit 9c526b3647
78 changed files with 121 additions and 87 deletions

View File

@@ -35,7 +35,7 @@ CompressWhitespace::CompressWhitespace(const std::string &action)
this->action_kind = 1;
}
std::string CompressWhitespace::evaluate(std::string value,
std::string CompressWhitespace::evaluate(const std::string &value,
Transaction *transaction) {
std::string a;