Skip to content

Commit 26d7220

Browse files
committed
Remove side-effecting assumption
1 parent 25d8419 commit 26d7220

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/generic/ondemand/array-inl.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@ simdjson_really_inline bool array::operator!=(const array &) noexcept {
9797
return !finished();
9898
}
9999
simdjson_really_inline array &array::operator++() noexcept {
100-
SIMDJSON_ASSUME(!finished());
101100
SIMDJSON_ASSUME(!at_start);
102101

103102
error = doc->iter.next_element(container).error();

0 commit comments

Comments
 (0)