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

pull/1337/head
Ahmed Yarub Hani 8 years ago
parent 83cfc88ae3
commit c37a5be4f8
  1. 3
      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 <tesseract/baseapi.h>
#include <tesseract/resultiterator.h>
#endif

Loading…
Cancel
Save