From b37f1aa6398065be806e6605a023189685669885 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 15 Feb 2017 03:55:15 +0200 Subject: Implement parallel match --- build2/file.ixx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'build2/file.ixx') diff --git a/build2/file.ixx b/build2/file.ixx index be43857..15fa8dc 100644 --- a/build2/file.ixx +++ b/build2/file.ixx @@ -10,20 +10,20 @@ namespace build2 return source_once (root, base, bf, base); } - target* + const target* import (const prerequisite_key&, bool existing); - inline target& + inline const target& import (const prerequisite_key& pk) { - assert (phase == run_phase::search_match); + assert (phase == run_phase::match); return *import (pk, false); } inline const target* import_existing (const prerequisite_key& pk) { - assert (phase == run_phase::search_match || phase == run_phase::execute); + assert (phase == run_phase::match || phase == run_phase::execute); return import (pk, true); } } -- cgit v1.1