summaryrefslogtreecommitdiff
path: root/plugins/Quotes/src/QuotesProviderGoogle.cpp
diff options
context:
space:
mode:
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)));