diff options
author | Karlson2k <k2k@narod.ru> | 2013-11-28 00:09:18 +0400 |
---|---|---|
committer | Karlson2k <k2k@narod.ru> | 2013-11-28 03:37:05 +0400 |
commit | a372d36d38d518c35fe3c984cf6269b786027b2e (patch) | |
tree | f0aca9f5aa97b22b78c74932e0836ec1b901ed15 | |
parent | 4acc0afbd684910a78e0fa04bf00b416ca31068c (diff) |
CTemperature: simple removal of CStdString
-rw-r--r-- | xbmc/Temperature.cpp | 2 | ||||
-rw-r--r-- | xbmc/Temperature.h | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/xbmc/Temperature.cpp b/xbmc/Temperature.cpp index 98b9ebc84c..240af9dd06 100644 --- a/xbmc/Temperature.cpp +++ b/xbmc/Temperature.cpp @@ -483,7 +483,7 @@ double CTemperature::ToLocale() const } // Returns temperature as localized string -CStdString CTemperature::ToString() const +std::string CTemperature::ToString() const { if (!IsValid()) return g_localizeStrings.Get(13205); // "Unknown" diff --git a/xbmc/Temperature.h b/xbmc/Temperature.h index 6c3fe72684..88ae4da92b 100644 --- a/xbmc/Temperature.h +++ b/xbmc/Temperature.h @@ -19,6 +19,7 @@ * */ +#include <string> #include "utils/Archive.h" class CTemperature : public IArchivable @@ -95,7 +96,7 @@ public: double ToNewton() const; double ToLocale() const; - CStdString ToString() const; + std::string ToString() const; protected: CTemperature(double value); |