mirror of
git://projects.qi-hardware.com/gmenu2x.git
synced 2025-04-21 12:27:27 +03:00
Use tr1::unordered_map instead of google::dense_hash_map in SurfaceCollection.
This reduces the binary size by about 45K.
This commit is contained in:
@@ -20,12 +20,12 @@
|
||||
#ifndef SURFACECOLLECTION_H
|
||||
#define SURFACECOLLECTION_H
|
||||
|
||||
#include <google/dense_hash_map>
|
||||
#include <string>
|
||||
#include <tr1/unordered_map>
|
||||
|
||||
class Surface;
|
||||
|
||||
typedef google::dense_hash_map<std::string, Surface *> SurfaceHash;
|
||||
typedef std::tr1::unordered_map<std::string, Surface *> SurfaceHash;
|
||||
|
||||
/**
|
||||
Hash Map of surfaces that loads surfaces not already loaded and reuses already loaded ones.
|
||||
|
||||
Reference in New Issue
Block a user