diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2023-05-23 09:23:16 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2023-05-29 10:21:12 +0200 |
commit | e05f7c7383cc48823bd408c0bc5187191a9a1c48 (patch) | |
tree | 024bb9c3be9c876b8822388baf1622cad03d7563 /libbuild2/target.ixx | |
parent | 349b34108752e2fcf1ead648ffec8e5acfe4a91c (diff) |
Explicit group: static members
Diffstat (limited to 'libbuild2/target.ixx')
-rw-r--r-- | libbuild2/target.ixx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libbuild2/target.ixx b/libbuild2/target.ixx index 899e829..3f005c3 100644 --- a/libbuild2/target.ixx +++ b/libbuild2/target.ixx @@ -235,13 +235,13 @@ namespace build2 } inline bool target:: - matched (action a) const + matched (action a, memory_order mo) const { assert (ctx.phase == run_phase::match || ctx.phase == run_phase::execute); const opstate& s (state[a]); - size_t c (s.task_count.load (memory_order_relaxed) - ctx.count_base ()); + size_t c (s.task_count.load (mo) - ctx.count_base ()); if (ctx.phase == run_phase::match) { |