From de15b95d09d00821aa23e96a0c3e827689c27a58 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 20 Jul 2016 16:18:29 +0200 Subject: Switch to dynamic empty() implementation in variable value The current model fell apart when we modified values directly. --- build2/file.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build2/file.cxx') diff --git a/build2/file.cxx b/build2/file.cxx index 9b3be0c..9ab01ce 100644 --- a/build2/file.cxx +++ b/build2/file.cxx @@ -659,7 +659,7 @@ namespace build2 // never set it to NULL). // auto l (root.vars["subprojects"]); - return l.defined () && (l->null () || l->type != nullptr); + return l.defined () && (l->null || l->type != nullptr); } void -- cgit v1.1