aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/file.ixx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/file.ixx')
-rw-r--r--libbuild2/file.ixx4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbuild2/file.ixx b/libbuild2/file.ixx
index 59b53bb..564fc11 100644
--- a/libbuild2/file.ixx
+++ b/libbuild2/file.ixx
@@ -18,14 +18,14 @@ namespace build2
inline const target&
import (context& ctx, const prerequisite_key& pk)
{
- assert (phase == run_phase::match);
+ assert (ctx.phase == run_phase::match);
return *import (ctx, pk, false);
}
inline const target*
import_existing (context& ctx, const prerequisite_key& pk)
{
- assert (phase == run_phase::match || phase == run_phase::execute);
+ assert (ctx.phase == run_phase::match || ctx.phase == run_phase::execute);
return import (ctx, pk, true);
}
}