comparison base/Thread.cpp @ 1608:0e0947896fd3

Fix compiler warnings
author Chris Cannam
date Wed, 27 Feb 2019 12:31:12 +0000
parents e802e550a1f2
children
comparison
equal deleted inserted replaced
1607:a77fc6da288b 1608:0e0947896fd3
76 m_name(name) 76 m_name(name)
77 { 77 {
78 #ifdef DEBUG_MUTEX_LOCKER 78 #ifdef DEBUG_MUTEX_LOCKER
79 cerr << "MutexLocker: Locking \"" << m_name << "\" in " 79 cerr << "MutexLocker: Locking \"" << m_name << "\" in "
80 << (void *)QThread::currentThreadId() << endl; 80 << (void *)QThread::currentThreadId() << endl;
81 #else
82 (void)m_name;
81 #endif 83 #endif
82 } 84 }
83 85
84 MutexLocker::Printer::~Printer() 86 MutexLocker::Printer::~Printer()
85 { 87 {