1 #include "dump_manager.hpp" 2 3 namespace phosphor 4 { 5 namespace dump 6 { 7 erase(uint32_t entryId)8void Manager::erase(uint32_t entryId) 9 { 10 entries.erase(entryId); 11 } 12 deleteAll()13void Manager::deleteAll() 14 { 15 auto iter = entries.begin(); 16 while (iter != entries.end()) 17 { 18 auto& entry = iter->second; 19 ++iter; 20 entry->delete_(); 21 } 22 } 23 24 } // namespace dump 25 } // namespace phosphor 26