What steps will reproduce the problem?
1. Call TessResultIteratorGetChoiceIterator, get back a const TessPageIterator*
2. Call either TessResultIteratorNext or TessChoiceIteratorDelete with the
result
What is the expected output? What do you see instead?
Get a compiler warning regarding discarding const qualifier.
Please use labels and text to provide additional information.
TessResultIteratorGetChoiceIterator should not return a const
TessPageIterator*, since by doing so it necessitates casting away the const
qualifier just to free or iterate through it.
Original issue reported on code.google.com by kiy...@gmail.com on 12 Oct 2014 at 8:54
Original issue reported on code.google.com by
kiy...@gmail.com
on 12 Oct 2014 at 8:54Attachments: