summaryrefslogtreecommitdiff
path: root/plugins/Quotes/src/QuotesProviderGoogle.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/QuotesProviderGoogle.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/QuotesProviderGoogle.cpp')
-rw-r--r--plugins/Quotes/src/QuotesProviderGoogle.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Quotes/src/QuotesProviderGoogle.cpp b/plugins/Quotes/src/QuotesProviderGoogle.cpp
index 50beba86aa..09d765cc34 100644
--- a/plugins/Quotes/src/QuotesProviderGoogle.cpp
+++ b/plugins/Quotes/src/QuotesProviderGoogle.cpp
@@ -57,7 +57,7 @@ bool CQuotesProviderGoogle::WatchForRate(const CRateInfo& ri,
{
MCONTACT hContact = *i;
{// for CCritSection
- CGuard<CLightMutex> cs(m_cs);
+ mir_cslock lck(m_cs);
m_aContacts.erase(i);
}
@@ -508,7 +508,7 @@ namespace
MCONTACT CQuotesProviderGoogle::GetContactByID(const tstring& rsFromID, const tstring& rsToID)const
{
- CGuard<CLightMutex> cs(m_cs);
+ mir_cslock lck(m_cs);
TContracts::const_iterator i = std::find_if(m_aContacts.begin(), m_aContacts.end(),
boost::bind(is_equal_ids, _1, boost::cref(rsFromID), boost::cref(rsToID)));