From c37a5be4f810af3c1e12a1fe64da53cab090e2a9 Mon Sep 17 00:00:00 2001 From: Ahmed Yarub Hani Date: Sun, 20 Aug 2017 11:18:26 -0300 Subject: [PATCH] USING_STD_NAMESPACE is now needed for all of the tesseract library, not just for training. --- modules/text/src/precomp.hpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/text/src/precomp.hpp b/modules/text/src/precomp.hpp index 94f05d8cc..7ccda150f 100644 --- a/modules/text/src/precomp.hpp +++ b/modules/text/src/precomp.hpp @@ -48,6 +48,9 @@ #include "text_config.hpp" #ifdef HAVE_TESSERACT +#if !defined(USE_STD_NAMESPACE) +#define USE_STD_NAMESPACE +#endif #include #include #endif