Use std::string not CStdString with strtol
authorJohn Rennie <john.rennie@ratsauce.co.uk>
Fri, 1 Feb 2013 07:23:10 +0000 (07:23 +0000)
committerJohn Rennie <john.rennie@ratsauce.co.uk>
Fri, 1 Feb 2013 07:23:10 +0000 (07:23 +0000)
xbmc/input/ButtonTranslator.cpp

index 0f03c3d..15d455b 100644 (file)
@@ -1268,7 +1268,7 @@ uint32_t CButtonTranslator::TranslateKeyboardButton(TiXmlElement *pButton)
   CStdString strKey = szButton;
   if (strKey.Equals("key"))
   {
-    CStdString strID;
+    std::string strID;
     if (pButton->QueryValueAttribute("id", &strID) == TIXML_SUCCESS)
     {
       const char *str = strID.c_str();