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

@@ -36,7 +36,7 @@ Sha1::Sha1(const std::string &action)
this->action_kind = 1;
}
std::string Sha1::evaluate(std::string value,
std::string Sha1::evaluate(const std::string &value,
Transaction *transaction) {
return Utils::Sha1::digest(value);