| 328 | } |
| 329 | |
| 330 | void MemorySettingsInterface::RemoveEmptySections() |
| 331 | { |
| 332 | for (auto sit = m_sections.begin(); sit != m_sections.end();) |
| 333 | { |
| 334 | if (sit->second.size() > 0) |
| 335 | { |
| 336 | ++sit; |
| 337 | continue; |
| 338 | } |
| 339 | |
| 340 | sit = m_sections.erase(sit); |
| 341 | } |
| 342 | } |