aboutsummaryrefslogtreecommitdiff
path: root/build2/cc/common.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/cc/common.cxx')
-rw-r--r--build2/cc/common.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/build2/cc/common.cxx b/build2/cc/common.cxx
index aca1240..d4c60ec 100644
--- a/build2/cc/common.cxx
+++ b/build2/cc/common.cxx
@@ -657,11 +657,11 @@ namespace build2
{
if (l.owns_lock ())
{
- s->member = i;
+ s->member = i; // We are first.
l.unlock ();
}
else
- assert (s->member == i);
+ assert (find_adhoc_member<libi> (*s) == i);
i->mtime (mt);
i->path (move (f));