From ca6a61f432f3ff0257e868bed36a58540623ab49 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Fri, 11 Dec 2020 20:53:32 +0300 Subject: Fix bug in create_new_target_locked() --- libbuild2/cc/common.txx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libbuild2/cc/common.txx') 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 (); return move (p.second); } -- cgit v1.1