From ca4f43374643f3e1f16c7cb8d259e98311579e42 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 9 Feb 2015 17:01:39 +0200 Subject: Make c++14 valid value for --std --- odb/option-types.cxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'odb/option-types.cxx') 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); } -- cgit v1.1