aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/target.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2019-11-18 15:11:53 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2019-11-18 15:11:53 +0200
commitc28bb7c4038916d359228317d4ef5fe17dabce61 (patch)
tree834d7c1768138b60e42d4d5d73d7a778a6a34932 /libbuild2/target.cxx
parent4f8ce9ca52f8bd967ac4e656e24e4f33584abd22 (diff)
Add couple of sanity checks
Diffstat (limited to 'libbuild2/target.cxx')
-rw-r--r--libbuild2/target.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/libbuild2/target.cxx b/libbuild2/target.cxx
index 23e6c9c..2ca3de8 100644
--- a/libbuild2/target.cxx
+++ b/libbuild2/target.cxx
@@ -700,8 +700,7 @@ namespace build2
p += ee;
}
- path (move (p));
- return path_;
+ return path (move (p));
}
// Search functions.