From 8276259438592439236341b74300cb5538303c83 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 14 Jul 2015 09:47:40 +0200 Subject: Add notion of strong/weak amalgamation, make strong new clean boundary --- build/config/operation.cxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'build/config') 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& d (v.as ()); ofs << "# Base configuration inherited from " << d << endl << "#" << endl; -- cgit v1.1