logging-log4cxx-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Curt Arnold <carn...@apache.org>
Subject Re: ObjectPtrT::operator-> const problem
Date Thu, 08 Nov 2007 22:50:58 GMT
Logged issue LOGCXX-202 (https://issues.apache.org/jira/browse/ 
LOGCXX-202) and committed a fix in rev 593346.

Prior to the fix:

            (*logger).info("Hello, World.");
            ((Logger*) logger)->info("Hello, World.");

would compile in a const method body, but

            logger->info("Hello, World.");

wouldn't.  Only operator-> wanted to make the deference const if the  
ObjectPtrT was const.

Thanks for the catch and the fix.

Mime
View raw message