You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by bh...@apache.org on 2011/12/23 17:22:25 UTC

svn commit: r1222727 - /uima/uimacpp/trunk/scriptators/ThreadAnnotator.h

Author: bhavani
Date: Fri Dec 23 16:22:25 2011
New Revision: 1222727

URL: http://svn.apache.org/viewvc?rev=1222727&view=rev
Log:
UIMA-1912 updated for GCC 4.3 compatibility

Modified:
    uima/uimacpp/trunk/scriptators/ThreadAnnotator.h

Modified: uima/uimacpp/trunk/scriptators/ThreadAnnotator.h
URL: http://svn.apache.org/viewvc/uima/uimacpp/trunk/scriptators/ThreadAnnotator.h?rev=1222727&r1=1222726&r2=1222727&view=diff
==============================================================================
--- uima/uimacpp/trunk/scriptators/ThreadAnnotator.h (original)
+++ uima/uimacpp/trunk/scriptators/ThreadAnnotator.h Fri Dec 23 16:22:25 2011
@@ -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 @@ public:
     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);
   }