mirror of
https://github.com/debauchee/barrier.git
synced 2026-02-09 05:13:36 +08:00
Removed mutex locking from get and set of log level #4809
This commit is contained in:
@@ -259,14 +259,12 @@ Log::setFilter(const char* maxPriority)
|
||||
void
|
||||
Log::setFilter(int maxPriority)
|
||||
{
|
||||
ArchMutexLock lock(m_mutex);
|
||||
m_maxPriority = maxPriority;
|
||||
}
|
||||
|
||||
int
|
||||
Log::getFilter() const
|
||||
{
|
||||
ArchMutexLock lock(m_mutex);
|
||||
return m_maxPriority;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user