aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/search.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/search.cxx')
-rw-r--r--libbuild2/search.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/libbuild2/search.cxx b/libbuild2/search.cxx
index 5887138..8f5410c 100644
--- a/libbuild2/search.cxx
+++ b/libbuild2/search.cxx
@@ -194,8 +194,7 @@ namespace build2
l5 ([&]{trace << (r.second ? "new" : "existing") << " target " << t
<< " for prerequisite " << cpk;});
- t.mtime (mt);
- t.path (move (f));
+ t.path_mtime (move (f), mt);
return &t;
}