aboutsummaryrefslogtreecommitdiff
path: root/build/search.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build/search.cxx')
-rw-r--r--build/search.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/search.cxx b/build/search.cxx
index 872a0d6..dfb603d 100644
--- a/build/search.cxx
+++ b/build/search.cxx
@@ -116,9 +116,9 @@ namespace build
//
auto r (targets.insert (*tk.type, f.directory (), *tk.name, ext, trace));
- // Has to be a path_target.
+ // Has to be a file_target.
//
- path_target& t (dynamic_cast<path_target&> (r.first));
+ file& t (dynamic_cast<file&> (r.first));
level4 ([&]{trace << (r.second ? "new" : "existing") << " target "
<< t << " for prerequisite " << pk;});