diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2017-06-16 23:55:35 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2017-06-19 12:57:24 +0300 |
commit | 4c2243f8c790207c0ee4119fcb081b69f06f476e (patch) | |
tree | 1189c6f54469acc542724c6530ba45d11632369c | |
parent | 1c75d32ee310f02d2c04ab427ad300222cc40d86 (diff) |
Fix conditional scope to never be empty
-rw-r--r-- | build2/test/script/script.hxx | 1 |
1 files changed, 1 insertions, 0 deletions
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 (), |