summaryrefslogtreecommitdiff
path: root/indra/llcommon
diff options
context:
space:
mode:
authorRunitaiLinden <davep@lindenlab.com>2024-07-09 15:53:06 -0500
committerRunitaiLinden <davep@lindenlab.com>2024-07-09 15:53:06 -0500
commitd9782cf9660bd08b2577d79b29e93129c838de3b (patch)
tree7289668c6e990c926e2974057c8d6024372dc5a1 /indra/llcommon
parentf1f7426d5436bd019213fb9d086f513688ee5fe1 (diff)
Review feedback change
Diffstat (limited to 'indra/llcommon')
-rw-r--r--indra/llcommon/llerror.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/indra/llcommon/llerror.cpp b/indra/llcommon/llerror.cpp
index fa24c2eaf4..fa24987d1c 100644
--- a/indra/llcommon/llerror.cpp
+++ b/indra/llcommon/llerror.cpp
@@ -1045,7 +1045,7 @@ namespace LLError
return;
}
SettingsConfigPtr s = Globals::getInstance()->getSettingsConfig();
- std::unique_lock<boost::fibers::recursive_mutex> lock(s->mRecorderMutex);
+ std::unique_lock lock(s->mRecorderMutex);
s->mRecorders.push_back(recorder);
}
@@ -1056,7 +1056,7 @@ namespace LLError
return;
}
SettingsConfigPtr s = Globals::getInstance()->getSettingsConfig();
- std::unique_lock<boost::fibers::recursive_mutex> lock(s->mRecorderMutex);
+ std::unique_lock lock(s->mRecorderMutex);
s->mRecorders.erase(std::remove(s->mRecorders.begin(), s->mRecorders.end(), recorder),
s->mRecorders.end());
}
@@ -1105,7 +1105,7 @@ namespace LLError
std::shared_ptr<RECORDER> findRecorder()
{
SettingsConfigPtr s = Globals::getInstance()->getSettingsConfig();
- std::unique_lock<boost::fibers::recursive_mutex> lock(s->mRecorderMutex);
+ std::unique_lock lock(s->mRecorderMutex);
return findRecorderPos<RECORDER>(s).first;
}
@@ -1116,7 +1116,7 @@ namespace LLError
bool removeRecorder()
{
SettingsConfigPtr s = Globals::getInstance()->getSettingsConfig();
- std::unique_lock<boost::fibers::recursive_mutex> lock(s->mRecorderMutex);
+ std::unique_lock lock(s->mRecorderMutex);
auto found = findRecorderPos<RECORDER>(s);
if (found.first)
{
@@ -1222,7 +1222,7 @@ namespace
std::string escaped_message;
- std::unique_lock<boost::fibers::recursive_mutex> lock(s->mRecorderMutex);
+ std::unique_lock lock(s->mRecorderMutex);
for (LLError::RecorderPtr& r : s->mRecorders)
{
if (!r->enabled())