blob: 455023ef9eabe6f6fcc8cb78633a6f4af7c31e10 [file] [log] [blame]
#include "dump_manager.hpp"
namespace phosphor
{
namespace dump
{
void Manager::erase(uint32_t entryId)
{
entries.erase(entryId);
}
void Manager::deleteAll()
{
auto iter = entries.begin();
while (iter != entries.end())
{
auto& entry = iter->second;
++iter;
entry->delete_();
}
}
} // namespace dump
} // namespace phosphor