diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2023-06-15 09:48:24 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2023-06-15 09:48:24 +0200 |
commit | e3c1bd90fd2b26225dbcbda27472ad72f1c575d4 (patch) | |
tree | cf9d1991659a9f933704fe58b4d05f7b747911e1 /libbuild2/dyndep.cxx | |
parent | 493a375346522a0944d4fb5893cc4740e5b2f743 (diff) |
Fix incorrect memory order in target::matched() call
Diffstat (limited to 'libbuild2/dyndep.cxx')
-rw-r--r-- | libbuild2/dyndep.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbuild2/dyndep.cxx b/libbuild2/dyndep.cxx index 7fe38d1..c0360f0 100644 --- a/libbuild2/dyndep.cxx +++ b/libbuild2/dyndep.cxx @@ -139,7 +139,7 @@ namespace build2 { diag_record dr; - if (pt.matched (a)) + if (pt.matched (a, memory_order_acquire)) { recipe_function* const* rf (pt[a].recipe.target<recipe_function*> ()); if (rf == nullptr || *rf != &noop_action) |