summaryrefslogtreecommitdiff
path: root/protocols/CurrencyRates/src/CurrencyRatesProviders.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2021-05-20 11:40:41 +0300
committerGeorge Hazan <ghazan@miranda.im>2021-05-20 11:40:41 +0300
commit0d08ce17f07300d4851e24a7123415015849605c (patch)
tree032069532d2ee673456f339032a4e56cca29f1b8 /protocols/CurrencyRates/src/CurrencyRatesProviders.cpp
parent676ff2e0bd23d7fe6b958ab3253d2dc1ccbe5eef (diff)
CurrencyRates: old unused junk removed + code cleaning
Diffstat (limited to 'protocols/CurrencyRates/src/CurrencyRatesProviders.cpp')
-rw-r--r--protocols/CurrencyRates/src/CurrencyRatesProviders.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/CurrencyRates/src/CurrencyRatesProviders.cpp b/protocols/CurrencyRates/src/CurrencyRatesProviders.cpp
index 2dcda4244a..1b35055c26 100644
--- a/protocols/CurrencyRates/src/CurrencyRatesProviders.cpp
+++ b/protocols/CurrencyRates/src/CurrencyRatesProviders.cpp
@@ -62,7 +62,7 @@ ICurrencyRatesProvider* GetContactProviderPtr(MCONTACT hContact)
if (nullptr == szProto || 0 != ::_stricmp(szProto, MODULENAME))
return nullptr;
- tstring sProvider = CurrencyRates_DBGetStringW(hContact, MODULENAME, DB_STR_CURRENCYRATE_PROVIDER);
+ std::wstring sProvider = CurrencyRates_DBGetStringW(hContact, MODULENAME, DB_STR_CURRENCYRATE_PROVIDER);
if (true == sProvider.empty())
return nullptr;
@@ -71,7 +71,7 @@ ICurrencyRatesProvider* GetContactProviderPtr(MCONTACT hContact)
/////////////////////////////////////////////////////////////////////////////////////////
-ICurrencyRatesProvider* FindProvider(const tstring& rsName)
+ICurrencyRatesProvider* FindProvider(const std::wstring& rsName)
{
for (auto &pProvider : g_apProviders) {
const ICurrencyRatesProvider::CProviderInfo& rInfo = pProvider->GetInfo();