aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/target.ixx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/target.ixx')
-rw-r--r--libbuild2/target.ixx2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbuild2/target.ixx b/libbuild2/target.ixx
index 49f87cf..8b52f22 100644
--- a/libbuild2/target.ixx
+++ b/libbuild2/target.ixx
@@ -531,7 +531,7 @@ namespace build2
for (; e == 1; e = path_state_.load (memory_order_acquire))
/*this_thread::yield ()*/ ;
- assert (path_ == p);
+ assert (e == 2 && path_ == p);
}
return path_;