aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/algorithm.ixx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/algorithm.ixx')
-rw-r--r--libbuild2/algorithm.ixx12
1 files changed, 6 insertions, 6 deletions
diff --git a/libbuild2/algorithm.ixx b/libbuild2/algorithm.ixx
index 396d518..24d9e5b 100644
--- a/libbuild2/algorithm.ixx
+++ b/libbuild2/algorithm.ixx
@@ -10,19 +10,19 @@
namespace build2
{
inline const target&
- search_custom (const prerequisite& p, const target& t)
+ search_custom (const prerequisite& p, const target& pt)
{
- assert (t.ctx.phase == run_phase::match ||
- t.ctx.phase == run_phase::execute);
+ assert (pt.ctx.phase == run_phase::match ||
+ pt.ctx.phase == run_phase::execute);
const target* e (nullptr);
if (!p.target.compare_exchange_strong (
- e, &t,
+ e, &pt,
memory_order_release,
memory_order_consume))
- assert (e == &t);
+ assert (e == &pt);
- return t;
+ return pt;
}
inline const target&