parser: fix some post-c++14 code

don't require anything post c++14
This commit is contained in:
djcb
2017-10-27 18:40:37 +03:00
parent d28a81f506
commit fe18603843
2 changed files with 5 additions and 5 deletions

View File

@ -47,7 +47,7 @@ struct Node {
Type type;
std::unique_ptr<Data> data;
static constexpr const char* type_name (Type t) {
static const char* type_name (Type t) {
switch (t) {
case Type::Empty: return ""; break;
case Type::OpAnd: return "and"; break;