diff options
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 ed35fdb..c20e437 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 (as<string> (*l)); + const string& v (cast<string> (*l)); // Translate 11 to 0x and 14 to 1y for compatibility with older // versions of the compiler. |