From 4c2243f8c790207c0ee4119fcb081b69f06f476e Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Fri, 16 Jun 2017 23:55:35 +0300 Subject: Fix conditional scope to never be empty --- build2/test/script/script.hxx | 1 + 1 file changed, 1 insertion(+) (limited to 'build2') diff --git a/build2/test/script/script.hxx b/build2/test/script/script.hxx index acf2b3c..e76d0ba 100644 --- a/build2/test/script/script.hxx +++ b/build2/test/script/script.hxx @@ -464,6 +464,7 @@ namespace build2 empty () const override { return + !if_cond_ && // The condition expression can have side-effects. setup_.empty () && tdown_.empty () && find_if (scopes.begin (), scopes.end (), -- cgit v1.1