aboutsummaryrefslogtreecommitdiff
path: root/build2/cli/target.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-01-19 16:50:40 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-01-19 16:50:40 +0200
commit5164c843513212ab1ac1f721c4de04b6a865eb0c (patch)
tree1c6b2f440bd6dcd41fed60e76095bae2bf4e9e54 /build2/cli/target.cxx
parent5607313a91e5ca0113b1f8b9acfd02c1fb105346 (diff)
Get rid of extension_pool
Diffstat (limited to 'build2/cli/target.cxx')
-rw-r--r--build2/cli/target.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/build2/cli/target.cxx b/build2/cli/target.cxx
index 5e12a04..3f09d30 100644
--- a/build2/cli/target.cxx
+++ b/build2/cli/target.cxx
@@ -53,7 +53,7 @@ namespace build2
dir_path d,
dir_path o,
string n,
- const string* e)
+ optional<string> e)
{
tracer trace ("cli::cli_cxx_factory");
@@ -66,7 +66,7 @@ namespace build2
targets.insert<cxx::cxx> (d, o, n, trace);
targets.insert<cxx::ixx> (d, o, n, trace);
- return new cli_cxx (move (d), move (o), move (n), e);
+ return new cli_cxx (move (d), move (o), move (n), move (e));
}
const target_type cli_cxx::static_type