diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-02-09 17:01:39 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-02-09 17:01:39 +0200 |
commit | ca4f43374643f3e1f16c7cb8d259e98311579e42 (patch) | |
tree | dc28d5b5a387739f99cf39af4a5ffd9fbdf7a331 /odb/option-types.cxx | |
parent | a0f311248b6d2263a48c9c894b067d1e5761b2ed (diff) |
Make c++14 valid value for --std2.4.0
Diffstat (limited to 'odb/option-types.cxx')
-rw-r--r-- | odb/option-types.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/odb/option-types.cxx b/odb/option-types.cxx index e003381..d7c2621 100644 --- a/odb/option-types.cxx +++ b/odb/option-types.cxx @@ -18,6 +18,7 @@ static const char* cxx_version_[] = { "c++98", "c++11" + "c++14" }; string cxx_version:: @@ -38,6 +39,8 @@ operator>> (istream& is, cxx_version& v) v = cxx_version::cxx98; else if (s == "c++11") v = cxx_version::cxx11; + else if (s == "c++14") + v = cxx_version::cxx14; else is.setstate (istream::failbit); } |