There was an error while loading. Please reload this page.
1 parent b468a44 commit 8c02982Copy full SHA for 8c02982
include/velocypack/Slice.h
@@ -1074,7 +1074,7 @@ class Slice {
1074
}
1075
1076
constexpr uint8_t tagOffset(uint8_t const* _start) const {
1077
- return SliceStaticData::TypeMap[*_start] == ValueType::Tagged ? (*_start == 0xee ? 2 : (*_start == 0xef ? 9 : throw new Exception(Exception::InternalError, "Invalid tag type ID"))) : 0;
+ return SliceStaticData::TypeMap[*_start] == ValueType::Tagged ? (*_start == 0xee ? 2 : (*_start == 0xef ? 9 : 0)) : 0;
1078
1079
1080
// get the total byte size for the slice, including the head byte
0 commit comments