summaryrefslogtreecommitdiff
path: root/plugins/Quotes/src/Log.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Quotes/src/Log.cpp')
-rw-r--r--plugins/Quotes/src/Log.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Quotes/src/Log.cpp b/plugins/Quotes/src/Log.cpp
index 844ffc7385..a9ffb93389 100644
--- a/plugins/Quotes/src/Log.cpp
+++ b/plugins/Quotes/src/Log.cpp
@@ -2,7 +2,7 @@
namespace
{
- CLightMutex g_Mutex;
+ mir_cs g_Mutex;
tstring get_log_file_name()
{
@@ -20,7 +20,7 @@ namespace
void do_log(const tstring& rsFileName, const tstring& rsMsg)
{
- CGuard<CLightMutex> guard(g_Mutex);
+ mir_cslock lck(g_Mutex);
tofstream file(rsFileName.c_str(), std::ios::ate | std::ios::app);
if (file.good())
{