diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2018-06-15 12:38:50 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2018-06-15 12:38:50 +0200 |
commit | 75313e6fead3b82a4be2d37b341a735f7b61279b (patch) | |
tree | f70086f978fb017bae21ece103d37eaddaaedf52 /build2/target.ixx | |
parent | 43e66db85be91716b469bef435328d4243b536b7 (diff) |
Add sanity check
Diffstat (limited to 'build2/target.ixx')
-rw-r--r-- | build2/target.ixx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/build2/target.ixx b/build2/target.ixx index 88bc530..6d69545 100644 --- a/build2/target.ixx +++ b/build2/target.ixx @@ -67,6 +67,8 @@ namespace build2 { assert (phase == run_phase::match); + // Note that the "tried" state is "final". + // const opstate& s (state[a]); size_t o (s.task_count.load (memory_order_relaxed) - // Synchronized. target::count_base ()); |