Skip to content

Commit f2bd98e

Browse files
committed
PageIterator: Remove useless const
Signed-off-by: Stefan Weil <sw@weilnetz.de>
1 parent 813b780 commit f2bd98e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ccmain/pageiterator.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
#ifndef TESSERACT_CCMAIN_PAGEITERATOR_H_
2222
#define TESSERACT_CCMAIN_PAGEITERATOR_H_
2323

24-
#include "publictypes.h"
2524
#include "platform.h"
25+
#include "publictypes.h"
2626

2727
struct BlamerBundle;
2828
class C_BLOB_IT;
@@ -205,7 +205,7 @@ class TESS_API PageIterator {
205205
*/
206206
bool BoundingBox(PageIteratorLevel level,
207207
int* left, int* top, int* right, int* bottom) const;
208-
bool BoundingBox(PageIteratorLevel level, const int padding,
208+
bool BoundingBox(PageIteratorLevel level, int padding,
209209
int* left, int* top, int* right, int* bottom) const;
210210
/**
211211
* Returns the bounding rectangle of the object in a coordinate system of the

0 commit comments

Comments
 (0)