Skip to content
Browse files

fixed: moved static variables from header to code file and initialize…

…d as false
  • Loading branch information...
1 parent 0816049 commit 67a3fcbaa7ded3b1452b04dbed13e37749aeea35 @malard malard committed Jun 13, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −0 xbmc/input/KeymapLoader.cpp
  2. +0 −3 xbmc/input/KeymapLoader.h
View
3 xbmc/input/KeymapLoader.cpp
@@ -28,6 +28,9 @@
using namespace std;
using namespace XFILE;
+static std::map<CStdString, CStdString> deviceMappings;
+static bool parsedMappings = false;
+
CKeymapLoader::CKeymapLoader()
{
if (!parsedMappings)
View
3 xbmc/input/KeymapLoader.h
@@ -22,9 +22,6 @@
#include <map>
#include "utils/StdString.h"
-static std::map<CStdString, CStdString> deviceMappings;
-static bool parsedMappings;
-
class CKeymapLoader
{
public:

0 comments on commit 67a3fcb

Please sign in to comment.
Something went wrong with that request. Please try again.