diff options
Diffstat (limited to 'build/config/operation.cxx')
-rw-r--r-- | build/config/operation.cxx | 5 |
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; |