Merge pull request #2647 from Karlson2k/C++11_compat_01
authorArne Morten Kvarving <spiff@xbmc.org>
Sun, 5 May 2013 18:21:43 +0000 (11:21 -0700)
committerArne Morten Kvarving <spiff@xbmc.org>
Sun, 5 May 2013 18:21:43 +0000 (11:21 -0700)
Improve compatibility with C++11 (Visual Studio 2012, Intel Compiler 13.0)

1  2 
xbmc/epg/Epg.cpp
xbmc/pvr/PVRManager.cpp

Simple merge
@@@ -193,10 -115,10 +193,10 @@@ bool CPVRManager::InstallAddonAllowed(c
  
  void CPVRManager::MarkAsOutdated(const std::string& strAddonId, const std::string& strReferer)
  {
 -  if (IsStarted() && g_guiSettings.GetBool("general.addonautoupdate"))
 +  if (IsStarted() && CSettings::Get().GetBool("general.addonautoupdate"))
    {
      CSingleLock lock(m_critSection);
-     m_outdatedAddons.insert(make_pair<string, string>(strAddonId, strReferer));
+     m_outdatedAddons.insert(make_pair(strAddonId, strReferer));
    }
  }