Constify Transaction on variable resolution

This commit is contained in:
Felipe Zimmerle
2020-09-18 11:41:55 -03:00
parent b9735f8bcd
commit bd59555206
55 changed files with 242 additions and 250 deletions

View File

@@ -42,7 +42,7 @@ void RunTimeString::append(std::unique_ptr<Variable> var) {
}
std::string RunTimeString::evaluate(/* const */ Transaction *transaction) const noexcept {
std::string RunTimeString::evaluate(const Transaction *transaction) const noexcept {
std::string retString;
// FIXME: Educated guess the size of retString based on the size of the elements.
for (auto &element : m_elements) {