Skip to content

Commit a373cdd

Browse files
committed
Fix wrong size type
1 parent f8fba79 commit a373cdd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

util/compact_binary_parser.hh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ struct CompactBinaryParser {
7070
return blob.subspan(offset, sz);
7171
}
7272

73-
constexpr std::pair<size_t, ptrdiff_t> get_size_and_offset(KeyT key) const {
73+
constexpr std::pair<DataSizeT, ptrdiff_t> get_size_and_offset(KeyT key) const {
7474
auto parsing = blob;
7575

7676
while (parsing.size() >= sizeof(Header)) {

0 commit comments

Comments
 (0)