From e4c4fec8c9097722ee5ee94f2ce5ad0313ed8d7b Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 1 Jul 2015 16:45:34 +0200 Subject: Clean up group state, mtime design --- build/cxx/rule.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'build/cxx') diff --git a/build/cxx/rule.cxx b/build/cxx/rule.cxx index 08a9202..7547201 100644 --- a/build/cxx/rule.cxx +++ b/build/cxx/rule.cxx @@ -650,13 +650,13 @@ namespace build // expensive. At the same time, most of these headers are // existing files that we will never be updating (again, // system headers, for example) and the rule that will match - // them is fallback path_rule. So we are going to do a little + // them is fallback file_rule. So we are going to do a little // fast-path optimization by detecting this common case. // recipe_function* const* recipe ( pt.recipe (a).target ()); - if (recipe == nullptr || *recipe != &path_rule::perform_update) + if (recipe == nullptr || *recipe != &file_rule::perform_update) { // We only want to restart if our call to execute() actually // caused an update. In particular, the target could already -- cgit v1.1