Author: tschoening
Date: Tue Feb 18 08:22:16 2014
New Revision: 1569228

URL: http://svn.apache.org/r1569228
Log:
LOGCXX-394: Hopefully fixed a GCC problem:

log4cxx/src/main/include/log4cxx/level.h:279:14: error: specializing member 
‘log4cxx::helpers::ObjectPtrT<log4cxx::Level>::operator==’ requires 
‘template<>’ syntax
 inline bool LevelPtr::operator==(const LevelPtr& rhs) const

Modified:
    incubator/log4cxx/trunk/src/main/include/log4cxx/level.h

Modified: incubator/log4cxx/trunk/src/main/include/log4cxx/level.h
URL: 
http://svn.apache.org/viewvc/incubator/log4cxx/trunk/src/main/include/log4cxx/level.h?rev=1569228&r1=1569227&r2=1569228&view=diff
==============================================================================
--- incubator/log4cxx/trunk/src/main/include/log4cxx/level.h (original)
+++ incubator/log4cxx/trunk/src/main/include/log4cxx/level.h Tue Feb 18 
08:22:16 2014
@@ -276,9 +276,9 @@ namespace log4cxx
         *
         * https://issues.apache.org/jira/browse/LOGCXX-394
         */
-       inline bool LevelPtr::operator==(const LevelPtr& rhs) const
+       template<> inline bool LevelPtr::operator==(const LevelPtr& rhs) const
        { return (*this)->equals(rhs); }
-       inline bool LevelPtr::operator!=(const LevelPtr& rhs) const
+       template<> inline bool LevelPtr::operator!=(const LevelPtr& rhs) const
        { return !(*this == rhs); }
        #if defined(_MSC_VER) && !defined(LOG4CXX_STATIC) && defined(LOG4CXX)
                template class LOG4CXX_EXPORT 
log4cxx::helpers::ObjectPtrT<Level>;


Reply via email to