chore: Log, use auto where possible
This commit is contained in:
parent
fb5f80857b
commit
72091c6ac4
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue