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

@@ -32,7 +32,7 @@ class ParityZero7bit : public Transformation {
public:
explicit ParityZero7bit(const std::string &action) : Transformation(action) { }
std::string evaluate(std::string exp, Transaction *transaction) override;
std::string evaluate(const std::string &exp, Transaction *transaction) override;
static bool inplace(unsigned char *input, uint64_t input_len);
};