Author: rhys
Date: Thu Jan 9 03:35:04 2014
New Revision: 1556709
URL: http://svn.apache.org/r1556709
Log:
LOGCXX-419 'typedef spi::KeySet KeySet' changes meaning of typedef
As discussed in the issue, the problem was that this typedef appeared after
the spi::KeySet typedef had already been used in a prior member declaration.
Modified:
incubator/log4cxx/trunk/src/main/include/log4cxx/spi/loggingevent.h
Modified: incubator/log4cxx/trunk/src/main/include/log4cxx/spi/loggingevent.h
URL:
http://svn.apache.org/viewvc/incubator/log4cxx/trunk/src/main/include/log4cxx/spi/loggingevent.h?rev=1556709&r1=1556708&r2=1556709&view=diff
==============================================================================
--- incubator/log4cxx/trunk/src/main/include/log4cxx/spi/loggingevent.h
(original)
+++ incubator/log4cxx/trunk/src/main/include/log4cxx/spi/loggingevent.h Thu Jan
9 03:35:04 2014
@@ -62,6 +62,8 @@ namespace log4cxx
LOG4CXX_CAST_ENTRY(LoggingEvent)
END_LOG4CXX_CAST_MAP()
+ typedef spi::KeySet KeySet;
+
/** For serialization only
*/
LoggingEvent();
@@ -168,7 +170,6 @@ namespace log4cxx
*/
void getMDCCopy() const;
- typedef spi::KeySet KeySet;
/**
* Return a previously set property.
* @param key key.