diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2019-08-22 16:08:45 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2019-08-22 16:16:32 +0200 |
commit | 708b092956f10b5c05641f90d55b209e887d52de (patch) | |
tree | 418b2ba2b214fc6af857d75301e5301d4fe0322b /libbuild2/file.ixx | |
parent | 4f5b6cb7ed4e05e98cce7e692462f49e24b7a39a (diff) |
Run phase
Diffstat (limited to 'libbuild2/file.ixx')
-rw-r--r-- | libbuild2/file.ixx | 4 |
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); } } |