Skip to content

Commit

Permalink
preliminary fix for tesseract-ocr#4148; looks like it was caused by c…
Browse files Browse the repository at this point in the history
…opy-paste of assert.
  • Loading branch information
GerHobbelt committed Jan 5, 2024
1 parent 32b0835 commit 407c165
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ccstruct/pageres.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1563,7 +1563,7 @@ void PAGE_RES_IT::DeleteCurrentWord() {
break;
}
}
ASSERT_HOST(!w_it.cycled_list());
// ASSERT_HOST(!w_it.cycled_list()); -- #4148 fix
delete w_it.extract();
}
// Remove the WERD_RES for the new_word.
Expand Down

0 comments on commit 407c165

Please sign in to comment.