diff options
Diffstat (limited to 'build/cxx/rule.cxx')
-rw-r--r-- | build/cxx/rule.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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<recipe_function*> ()); - 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 |