aboutsummaryrefslogtreecommitdiff
path: root/build/test
diff options
context:
space:
mode:
Diffstat (limited to 'build/test')
-rw-r--r--build/test/rule.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/build/test/rule.cxx b/build/test/rule.cxx
index 30de93c..10b628d 100644
--- a/build/test/rule.cxx
+++ b/build/test/rule.cxx
@@ -33,12 +33,14 @@ namespace build
// @@ This logic doesn't take into account target type/pattern-
// specific variables.
//
+ // @@ Perhaps a find_any(<list-of-vars>)?
+ //
for (auto p (t.vars.find_namespace ("test"));
p.first != p.second;
++p.first)
{
const variable& var (p.first->first);
- value_ptr& val (p.first->second);
+ const value_ptr& val (p.first->second);
// If we have test, then always use that.
//