File tree 2 files changed +4
-8
lines changed
2 files changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -1191,13 +1191,6 @@ void WERD_RES::ClearRatings() {
1191
1191
}
1192
1192
}
1193
1193
1194
-
1195
- bool PAGE_RES_IT::operator ==(const PAGE_RES_IT &other) const {
1196
- return word_res == other.word_res &&
1197
- row_res == other.row_res &&
1198
- block_res == other.block_res ;
1199
- }
1200
-
1201
1194
int PAGE_RES_IT::cmp (const PAGE_RES_IT &other) const {
1202
1195
ASSERT_HOST (page_res == other.page_res );
1203
1196
if (other.block_res == nullptr ) {
Original file line number Diff line number Diff line change @@ -685,7 +685,10 @@ class PAGE_RES_IT {
685
685
686
686
// Do two PAGE_RES_ITs point at the same word?
687
687
// This is much cheaper than cmp().
688
- bool operator ==(const PAGE_RES_IT &other) const ;
688
+ bool operator ==(const PAGE_RES_IT &other) const {
689
+ return word_res == other.word_res && row_res == other.row_res &&
690
+ block_res == other.block_res ;
691
+ }
689
692
690
693
bool operator !=(const PAGE_RES_IT &other) const {return !(*this == other); }
691
694
You can’t perform that action at this time.
0 commit comments