aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/file.ixx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2020-05-28 14:03:12 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2020-05-28 14:03:12 +0200
commit27547e341f32782ad2d7fd998dde1cb04f4bf1db (patch)
treea87ec58755cb133566b5c1fafae4d68bebeeed09 /libbuild2/file.ixx
parentcd651d5ca3572413180827232eb18239750befca (diff)
Allow calling certain search_existing() versions during load phase
This is necessary for $target.path() implementation.
Diffstat (limited to 'libbuild2/file.ixx')
-rw-r--r--libbuild2/file.ixx1
1 files changed, 0 insertions, 1 deletions
diff --git a/libbuild2/file.ixx b/libbuild2/file.ixx
index 7c09d3d..4a9f411 100644
--- a/libbuild2/file.ixx
+++ b/libbuild2/file.ixx
@@ -80,7 +80,6 @@ namespace build2
inline const target*
import_existing (context& ctx, const prerequisite_key& pk)
{
- assert (ctx.phase == run_phase::match || ctx.phase == run_phase::execute);
return import (ctx, pk, false, nullopt, true, location ());
}
}