From 68f96f9213e849d0d7c4cedf3edeaec99743ee27 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 24 Aug 2015 09:51:15 +0200 Subject: New variable architecture --- build/cxx/utility.txx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'build/cxx/utility.txx') diff --git a/build/cxx/utility.txx b/build/cxx/utility.txx index 7d9d686..561a54e 100644 --- a/build/cxx/utility.txx +++ b/build/cxx/utility.txx @@ -12,9 +12,9 @@ namespace build void append_std (cstrings& args, T& t, std::string& s) { - if (auto val = t["cxx.std"]) + if (auto l = t["cxx.std"]) { - const std::string& v (val.template as ()); + const std::string& v (as (*l)); // Translate 11 to 0x and 14 to 1y for compatibility with // older versions of the compiler. -- cgit v1.1