aboutsummaryrefslogtreecommitdiff
path: root/build2/algorithm.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-04-21 17:12:22 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-04-21 17:12:22 +0200
commit34e19551c1db1d8f0be3a41735506d6ce04b70e1 (patch)
tree4b0e8c004c12cbdecaefe109c47d7c77d7b0778d /build2/algorithm.cxx
parentf0a73bf037a63849c89c090625b645e2b4da08c9 (diff)
Move target state reset back to recipe()
Doing it in target::reset() (which is called by match()) didn't play well with delegated recipes.
Diffstat (limited to 'build2/algorithm.cxx')
-rw-r--r--build2/algorithm.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/build2/algorithm.cxx b/build2/algorithm.cxx
index 1b19fe5..a22837f 100644
--- a/build2/algorithm.cxx
+++ b/build2/algorithm.cxx
@@ -449,8 +449,9 @@ namespace build2
}
target_state
- noop_action (action, target&)
+ noop_action (action a, target& t)
{
+ text << "noop action triggered for " << diag_doing (a, t);
assert (false); // We shouldn't be called, see target::recipe().
return target_state::unchanged;
}