Fix new binary meta-data deserialization and add some debug code (will disable later).
This commit is contained in:
parent
de1b745988
commit
93b673043c
3 changed files with 41 additions and 1 deletions
|
@ -115,6 +115,7 @@ public:
|
|||
|
||||
// Seek past old style meta-data
|
||||
while (b[p]) ++p;
|
||||
++p;
|
||||
|
||||
if (b.template at<uint16_t>(p) != 1)
|
||||
throw std::invalid_argument("unrecognized version");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue