aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/cc/common.txx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/cc/common.txx')
-rw-r--r--libbuild2/cc/common.txx2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbuild2/cc/common.txx b/libbuild2/cc/common.txx
index ce922cc..d14f966 100644
--- a/libbuild2/cc/common.txx
+++ b/libbuild2/cc/common.txx
@@ -27,7 +27,7 @@ namespace build2
target_decl::implied,
trace));
- assert (!exist || !p.second.owns_lock ());
+ assert (!exist || !p.second);
r = &p.first.template as<T> ();
return move (p.second);
}