Skip to content

Commit b1e1c24

Browse files
committed
reject.cpp: Remove unneeded included header in disable-legacy mode
1 parent e15aba4 commit b1e1c24

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ccmain/reject.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@
2121
# include "config_auto.h"
2222
#endif
2323

24-
#include "reject.h"
25-
2624
#ifdef DISABLED_LEGACY_ENGINE
2725

2826
# include "tesseractclass.h"
@@ -38,6 +36,8 @@ int16_t Tesseract::safe_dict_word(const WERD_RES *werd_res) {
3836

3937
#else
4038

39+
# include "reject.h"
40+
4141
# include "control.h"
4242
# include "docqual.h"
4343
# include "tesseractclass.h"

0 commit comments

Comments
 (0)