diff options
author | George Hazan <ghazan@miranda.im> | 2021-05-20 11:40:41 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2021-05-20 11:40:41 +0300 |
commit | 0d08ce17f07300d4851e24a7123415015849605c (patch) | |
tree | 032069532d2ee673456f339032a4e56cca29f1b8 /protocols/CurrencyRates/src/CurrencyRatesProviders.cpp | |
parent | 676ff2e0bd23d7fe6b958ab3253d2dc1ccbe5eef (diff) |
CurrencyRates: old unused junk removed + code cleaning
Diffstat (limited to 'protocols/CurrencyRates/src/CurrencyRatesProviders.cpp')
-rw-r--r-- | protocols/CurrencyRates/src/CurrencyRatesProviders.cpp | 4 |
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(); |