diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2019-11-18 15:11:53 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2019-11-18 15:11:53 +0200 |
commit | c28bb7c4038916d359228317d4ef5fe17dabce61 (patch) | |
tree | 834d7c1768138b60e42d4d5d73d7a778a6a34932 /libbuild2/target.ixx | |
parent | 4f8ce9ca52f8bd967ac4e656e24e4f33584abd22 (diff) |
Add couple of sanity checks
Diffstat (limited to 'libbuild2/target.ixx')
-rw-r--r-- | libbuild2/target.ixx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libbuild2/target.ixx b/libbuild2/target.ixx index f304250..49f87cf 100644 --- a/libbuild2/target.ixx +++ b/libbuild2/target.ixx @@ -504,6 +504,10 @@ namespace build2 inline const path& path_target:: path () const { + // You may be wondering why don't we spin the transition out? The reason + // is it shouldn't matter since were we called just a moment earlier, we + // would have seen it. + // return path_state_.load (memory_order_acquire) == 2 ? path_ : empty_path; } |