diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2023-05-30 11:42:18 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2023-05-30 11:42:18 +0200 |
commit | e1c66b9704ca9557031f865cc194a96bcb85a030 (patch) | |
tree | a060d195be5cfd6c87383796e5d06977f99bc733 /libbuild2/build/script/parser.cxx | |
parent | 2d4b7eb982d2f7140d8093d9b1f0c3498d84f936 (diff) |
Fix previous commits to work in C++14
Diffstat (limited to 'libbuild2/build/script/parser.cxx')
-rw-r--r-- | libbuild2/build/script/parser.cxx | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/libbuild2/build/script/parser.cxx b/libbuild2/build/script/parser.cxx index 7e2feb9..d449f4b 100644 --- a/libbuild2/build/script/parser.cxx +++ b/libbuild2/build/script/parser.cxx @@ -2736,7 +2736,8 @@ namespace build2 string t (*l, 0, p); l->erase (0, p + 1); - dyn_targets.emplace_back (move (t), path (move (*l))); + dyn_targets.push_back ( + dynamic_target {move (t), path (move (*l))}); } } @@ -2949,7 +2950,8 @@ namespace build2 // Note: type is resolved later. // - dyn_targets.emplace_back (string (), move (f)); + dyn_targets.push_back ( + dynamic_target {string (), move (f)}); } continue; @@ -3059,7 +3061,8 @@ namespace build2 // Note: type is resolved later. // - dyn_targets.emplace_back (string (), move (f)); + dyn_targets.push_back ( + dynamic_target {string (), move (f)}); } else { |