Commit c37a5be4 authored by Ahmed Yarub Hani's avatar Ahmed Yarub Hani

USING_STD_NAMESPACE is now needed for all of the tesseract library, not just for training.

parent 83cfc88a
...@@ -48,6 +48,9 @@ ...@@ -48,6 +48,9 @@
#include "text_config.hpp" #include "text_config.hpp"
#ifdef HAVE_TESSERACT #ifdef HAVE_TESSERACT
#if !defined(USE_STD_NAMESPACE)
#define USE_STD_NAMESPACE
#endif
#include <tesseract/baseapi.h> #include <tesseract/baseapi.h>
#include <tesseract/resultiterator.h> #include <tesseract/resultiterator.h>
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment