diff --git a/src/lib/base/Log.cpp b/src/lib/base/Log.cpp index a7962f88e..c1d1d3e09 100644 --- a/src/lib/base/Log.cpp +++ b/src/lib/base/Log.cpp @@ -143,10 +143,10 @@ Log::Log(Log *src) Log::~Log() { // 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; } - 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; } ARCH->closeMutex(m_mutex);