summaryrefslogtreecommitdiff
path: root/plugins/Quotes/src/Log.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2015-04-30 06:00:43 +0000
committerKirill Volinsky <mataes2007@gmail.com>2015-04-30 06:00:43 +0000
commite08a7cc8649d735a166879a3c1cf0b1642c651d1 (patch)
tree1916876b0586ea5bf1c00b22e59e274708e3b61d /plugins/Quotes/src/Log.cpp
parent481296bc540cdbdd0efef87ddaa173c96619edc3 (diff)
minus critical section
git-svn-id: http://svn.miranda-ng.org/main/trunk@13268 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
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())
{