aboutsummaryrefslogtreecommitdiff
path: root/odb/option-types.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/option-types.cxx')
-rw-r--r--odb/option-types.cxx7
1 files changed, 5 insertions, 2 deletions
diff --git a/odb/option-types.cxx b/odb/option-types.cxx
index bd3736e..d2848a4 100644
--- a/odb/option-types.cxx
+++ b/odb/option-types.cxx
@@ -17,8 +17,9 @@ using namespace std;
static const char* cxx_version_[] =
{
"c++98",
- "c++11"
- "c++14"
+ "c++11",
+ "c++14",
+ "c++17"
};
string cxx_version::
@@ -41,6 +42,8 @@ operator>> (istream& is, cxx_version& v)
v = cxx_version::cxx11;
else if (s == "c++14")
v = cxx_version::cxx14;
+ else if (s == "c++17")
+ v = cxx_version::cxx17;
else
is.setstate (istream::failbit);
}