chore: Log, use auto where possible

This commit is contained in:
sithlord48 2025-04-27 16:17:32 -04:00 committed by Nick Bolton
parent fb5f80857b
commit 72091c6ac4

View file

@ -143,10 +143,10 @@ Log::Log(Log *src)
Log::~Log() Log::~Log()
{ {
// clean up // clean up
for (OutputterList::iterator index = m_outputters.begin(); index != m_outputters.end(); ++index) { for (auto index = m_outputters.begin(); index != m_outputters.end(); ++index) {
delete *index; delete *index;
} }
for (OutputterList::iterator index = m_alwaysOutputters.begin(); index != m_alwaysOutputters.end(); ++index) { for (auto index = m_alwaysOutputters.begin(); index != m_alwaysOutputters.end(); ++index) {
delete *index; delete *index;
} }
ARCH->closeMutex(m_mutex); ARCH->closeMutex(m_mutex);