diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-02-08 10:22:01 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2017-02-13 12:42:42 +0200 |
commit | 8eed1ebf9ca2532fac255708a8dc418378c78b0a (patch) | |
tree | c21bb8a590e70bdf9acd8c014204e8b5eb7f0c56 /build2/operation.cxx | |
parent | 9aa99bc4e62909c119df72bda26b091245d48274 (diff) |
Get rid of count_postponed
Terget execution is postponed with regards to the current thread only thus
it doesn't seem right to make postponed a target state.
Diffstat (limited to 'build2/operation.cxx')
-rw-r--r-- | build2/operation.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/build2/operation.cxx b/build2/operation.cxx index f37d642..ea9a462 100644 --- a/build2/operation.cxx +++ b/build2/operation.cxx @@ -168,10 +168,10 @@ namespace build2 } case target_state::changed: break; - case target_state::postponed: - assert (false); case target_state::failed: //@@ MT: This could probably happen in a parallel build. + // Or does state() throw? Do we want to print? + break; default: assert (false); } |