|
From: Eric E. <eri...@na...> - 2008-03-20 11:55:19
|
Hi Slava, On Wed, March 19, 2008 6:25 pm, Slava Mazur wrote: > Greetings, > > I noticed that method properties() in ObjectHandler::Object class > declared as non-const: > const boost::shared_ptr<ValueObject>& properties(); > > Is it intended? If yes, could someone tell me the reason? > Wouldn't it better to have the following? > > const boost::shared_ptr<ValueObject>& properties() const; You're right, that function ought to be const, and making it so seems not to break anything. I made the change in subversion for inclusion in the next release. Thank you. Regards, Eric |