1
0
mirror of git://projects.qi-hardware.com/gmenu2x.git synced 2025-04-21 12:27:27 +03:00

The "tr1" namespace is no longer needed now that we're on C++11

This commit is contained in:
Maarten ter Huurne
2013-08-01 14:11:21 +02:00
parent de9b3cd27d
commit fb8f4e6e72
6 changed files with 9 additions and 11 deletions

View File

@@ -29,8 +29,8 @@
#include <iostream>
#include <string>
#include <unordered_map>
#include <vector>
#include <tr1/unordered_map>
class ASFont;
class Button;
@@ -58,8 +58,8 @@ enum color {
NUM_COLORS,
};
typedef std::tr1::unordered_map<std::string, std::string, std::tr1::hash<std::string> > ConfStrHash;
typedef std::tr1::unordered_map<std::string, int, std::tr1::hash<std::string> > ConfIntHash;
typedef std::unordered_map<std::string, std::string, std::hash<std::string> > ConfStrHash;
typedef std::unordered_map<std::string, int, std::hash<std::string> > ConfIntHash;
class GMenu2X {
private: