Enable -Wswitch-enum in CI

This commit is contained in:
Victor Zverovich committed 2019-11-26 10:17:48 -08:00
1 parent 4afb39bc24
commit 3de36e9348
2 files changed
+3 -2

No files matched your search

+2 -1
View File
@@ -201,7 +201,8 @@ struct scan_handler : error_handler {
scan_ctx_.advance_to(it);
break;
}
default:
case scan_type::none_type:
case scan_type::custom_type:
assert(false);
}
}