remove default case from switch to make any omission a compile-time error

This commit is contained in:
Hatem Helal committed 2018-12-13 08:36:33 +00:00
1 parent a87c3ba990
commit 8983ae629f
1 file changed
+3 -2
+3 -2
View File
@@ -53,9 +53,10 @@ std::string ParquetVersionToString(ParquetVersion::type ver) {
return "1.0";
case ParquetVersion::PARQUET_2_0:
return "2.0";
default:
return "UNKNOWN";
}
// This should be unreachable
return "UNKNOWN";
}
template <typename DType>