aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/adhoc-rule-buildscript.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2023-05-30 11:42:18 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2023-05-30 11:42:18 +0200
commite1c66b9704ca9557031f865cc194a96bcb85a030 (patch)
treea060d195be5cfd6c87383796e5d06977f99bc733 /libbuild2/adhoc-rule-buildscript.cxx
parent2d4b7eb982d2f7140d8093d9b1f0c3498d84f936 (diff)
Fix previous commits to work in C++14
Diffstat (limited to 'libbuild2/adhoc-rule-buildscript.cxx')
-rw-r--r--libbuild2/adhoc-rule-buildscript.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbuild2/adhoc-rule-buildscript.cxx b/libbuild2/adhoc-rule-buildscript.cxx
index 29b11ee..5f8a6b9 100644
--- a/libbuild2/adhoc-rule-buildscript.cxx
+++ b/libbuild2/adhoc-rule-buildscript.cxx
@@ -628,8 +628,8 @@ namespace build2
p + 1 == l->size ()) // Empty path.
break;
- r.first.emplace_back (string (*l, 0, p),
- path (*l, p + 1, string::npos));
+ r.first.push_back (
+ dynamic_target {string (*l, 0, p), path (*l, p + 1, string::npos)});
}
break;