diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2020-12-15 12:51:34 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2020-12-15 12:51:34 +0200 |
commit | 56a6082494a667022979965ec882723344258ba6 (patch) | |
tree | 176e0cd34043f0492ae6c8cefda31c1d18d1dce6 /libbuild2 | |
parent | f7a245b2b6091ef3a5e1193423c7fbbd6fe6a538 (diff) |
Add explicit owns_lock() call to make Clang 3.7 happy
Diffstat (limited to 'libbuild2')
-rw-r--r-- | libbuild2/target.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbuild2/target.hxx b/libbuild2/target.hxx index 8c7ccee..9e21d7a 100644 --- a/libbuild2/target.hxx +++ b/libbuild2/target.hxx @@ -1399,7 +1399,7 @@ namespace build2 decl, t)); - return pair<target&, bool> (p.first, p.second); + return pair<target&, bool> (p.first, p.second.owns_lock ()); // Clang 3.7 } // Note that the following versions always enter implied targets. |