Skip to content

Commit c37a5be

Browse files
author
Ahmed Yarub Hani
committed
USING_STD_NAMESPACE is now needed for all of the tesseract library, not just for training.
1 parent 83cfc88 commit c37a5be

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

modules/text/src/precomp.hpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,9 @@
4848
#include "text_config.hpp"
4949

5050
#ifdef HAVE_TESSERACT
51+
#if !defined(USE_STD_NAMESPACE)
52+
#define USE_STD_NAMESPACE
53+
#endif
5154
#include <tesseract/baseapi.h>
5255
#include <tesseract/resultiterator.h>
5356
#endif

0 commit comments

Comments
 (0)