I've been using Ogre ConfigFile for years in my projects extending the class functionality by composition. Now the latest Ogre version 1.x (and I suppose the v2.x) is deprecating this method:
Code: Select all
/// @deprecated use getSettingsBySection()
OGRE_DEPRECATED SectionIterator getSectionIterator(void);
Code: Select all
/** Get all the available settings grouped by sections */
const SettingsBySection_& getSettingsBySection() const {
return mSettings;
}
I'd like to extend it by composition (I don't like the general promiscuity of the inheritance). Please consider making it non-const in the get member or at least add a virtual destructor
thank you!