From 0285c944f9b7916e86f923884704709e855b8b9c Mon Sep 17 00:00:00 2001 From: Felipe Zimmerle Date: Fri, 16 Oct 2015 15:34:17 -0300 Subject: [PATCH] Fix collections resolution --- src/assay.cc | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/assay.cc b/src/assay.cc index 3825cb1f..1323984f 100644 --- a/src/assay.cc +++ b/src/assay.cc @@ -1482,12 +1482,9 @@ void Assay::resolve_variable(const std::string& var, m_variables_strings.resolveVariable(var, l); - size_t ac = var.find(":"); - if (ac != std::string::npos) { - /* It may be a collection */ - for (auto &a : collections) { - a.second->resolveVariable(var, l); - } + /* It may be a collection */ + for (auto &a : collections) { + a.second->resolveVariable(var, l); } }