aboutsummaryrefslogtreecommitdiff
path: root/build/config
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-07-14 09:47:40 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-07-14 09:47:40 +0200
commit8276259438592439236341b74300cb5538303c83 (patch)
tree0e072ee31bd13ff55f2c3e0d4a0b50725f8dd73f /build/config
parent70613e9be046c9cddd2486505a44d3a0324d6d95 (diff)
Add notion of strong/weak amalgamation, make strong new clean boundary
Diffstat (limited to 'build/config')
-rw-r--r--build/config/operation.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/build/config/operation.cxx b/build/config/operation.cxx
index 57bb60d..48d4d19 100644
--- a/build/config/operation.cxx
+++ b/build/config/operation.cxx
@@ -81,10 +81,9 @@ namespace build
<< "# feel free to edit." << endl
<< "#" << endl;
- auto av = root.vars["amalgamation"];
- if (av && !av.empty ())
+ if (auto v = root.vars["amalgamation"])
{
- const dir_path& d (av.as<const dir_path&> ());
+ const dir_path& d (v.as<const dir_path&> ());
ofs << "# Base configuration inherited from " << d << endl
<< "#" << endl;