diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-03-28 09:45:20 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-03-28 16:03:35 +0200 |
commit | 69801c4e23f877359118e55ed291737f4fbece04 (patch) | |
tree | cd4cb504a5c28aafde601e2d5d4603a44c75b548 /build2/cxx/utility.txx | |
parent | 3ce44330cca9dbc4314feebb27403ebc3175b6c2 (diff) |
Add variable cast from lookup
Diffstat (limited to 'build2/cxx/utility.txx')
-rw-r--r-- | build2/cxx/utility.txx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build2/cxx/utility.txx b/build2/cxx/utility.txx index c20e437..4d38513 100644 --- a/build2/cxx/utility.txx +++ b/build2/cxx/utility.txx @@ -14,7 +14,7 @@ namespace build2 { if (auto l = t["cxx.std"]) { - const string& v (cast<string> (*l)); + const string& v (cast<string> (l)); // Translate 11 to 0x and 14 to 1y for compatibility with older // versions of the compiler. |