You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4cxx-dev@logging.apache.org by ca...@apache.org on 2007/11/02 22:22:53 UTC

svn commit: r591469 - /logging/log4cxx/trunk/src/main/cpp/thread.cpp

Author: carnold
Date: Fri Nov  2 14:22:52 2007
New Revision: 591469

URL: http://svn.apache.org/viewvc?rev=591469&view=rev
Log:
LOGCXX-129: VC6 fix for Thread::isCurrentThread

Modified:
    logging/log4cxx/trunk/src/main/cpp/thread.cpp

Modified: logging/log4cxx/trunk/src/main/cpp/thread.cpp
URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/src/main/cpp/thread.cpp?rev=591469&r1=591468&r2=591469&view=diff
==============================================================================
--- logging/log4cxx/trunk/src/main/cpp/thread.cpp (original)
+++ logging/log4cxx/trunk/src/main/cpp/thread.cpp Fri Nov  2 14:22:52 2007
@@ -147,7 +147,7 @@
 }
 
 bool Thread::isCurrentThread() const {
-    void* tls = getThreadLocal().get();
+    const void* tls = getThreadLocal().get();
     return (tls == this);
 }