Renames collection::Variable to VariableValue

This commit is contained in:
Felipe Zimmerle
2018-02-02 18:50:04 -03:00
parent de7c5c89bb
commit eeec7efb68
137 changed files with 304 additions and 361 deletions

View File

@@ -35,10 +35,10 @@ namespace Variables {
void TimeEpoch::evaluate(Transaction *transaction,
Rule *rule,
std::vector<const collection::Variable *> *l) {
std::vector<const VariableValue *> *l) {
transaction->m_variableTimeEpoch.assign(
std::to_string(std::time(nullptr)));
l->push_back(new collection::Variable(&m_retName,
l->push_back(new VariableValue(&m_retName,
&transaction->m_variableTimeEpoch));
}