From 3eef49d5c983e036c8e5cc6fa2bd16c44d7217de Mon Sep 17 00:00:00 2001 From: Adam Potolsky Date: Thu, 18 Jun 2015 14:18:05 -0700 Subject: [PATCH] Removed mutex locking from get and set of log level #4809 --- src/lib/base/Log.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/lib/base/Log.cpp b/src/lib/base/Log.cpp index 943e239a..554582af 100644 --- a/src/lib/base/Log.cpp +++ b/src/lib/base/Log.cpp @@ -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; }