UIMA-1912 updated for GCC 4.3 compatibility
git-svn-id: https://svn.apache.org/repos/asf/uima/uimacpp/trunk@1222727 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/scriptators/ThreadAnnotator.h b/scriptators/ThreadAnnotator.h
index e7c36cc..5174367 100644
--- a/scriptators/ThreadAnnotator.h
+++ b/scriptators/ThreadAnnotator.h
@@ -20,7 +20,6 @@
#include "apr_thread_proc.h"
#include "apr_thread_mutex.h"
#include "apr_thread_cond.h"
-
template <class _Annotator>
class ThreadAnnotator : public uima::Annotator {
_Annotator *child;
@@ -120,7 +119,7 @@
apr_sleep(1000);
apr_thread_mutex_lock(mutex);
if (!threadReady) {
- cerr << "WARNING: ThreadAnnotator worker thread not ready! " << endl;
+ std::cerr << "WARNING: ThreadAnnotator worker thread not ready! " << std::endl;
}
apr_thread_mutex_unlock(mutex);
}