On Thu, Jan 9, 2014 at 10:47 AM, chand priyankara <[email protected]>wrote:
> Index: src/main/include/log4cxx/spi/loggingevent.h > =================================================================== > --- src/main/include/log4cxx/spi/loggingevent.h (revision 1556590) > +++ src/main/include/log4cxx/spi/loggingevent.h (working copy) > @@ -160,7 +160,7 @@ > * @return Set an unmodifiable set of the MDC keys. > * > */ > - KeySet getMDCKeySet() const; > + spi::KeySet getMDCKeySet() const; > > /** > Obtain a copy of this thread's MDC prior to > serialization > Ah, the danger in that one is that there are two KeySets running about, one's spi::KeySet and one's LoggingEvent::KeySet. And unless -fpermissive is present, they're not the same thing (though the underlying types are identical). - Rhys
