aboutsummaryrefslogtreecommitdiff
path: root/build/search.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-07-01 16:45:34 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-07-01 16:45:34 +0200
commite4c4fec8c9097722ee5ee94f2ce5ad0313ed8d7b (patch)
treee8de68957fc5cd00bb7b0b3199ca8a9abba4f678 /build/search.cxx
parentf7e9830c0c413f05737002dcc8d06e73cb379980 (diff)
Clean up group state, mtime design
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;});