void Settings::clearNoLock() { std::map<std::string, SettingsEntry>::const_iterator it; for (it = m_settings.begin(); it != m_settings.end(); ++it) delete it->second.group; m_settings.clear(); clearDefaultsNoLock(); }
void Settings::clearNoLock() { for (SettingEntries::const_iterator it = m_settings.begin(); it != m_settings.end(); ++it) delete it->second.group; m_settings.clear(); clearDefaultsNoLock(); }
void Settings::clearDefaults() { MutexAutoLock lock(m_mutex); clearDefaultsNoLock(); }