Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorr.kuznetsov <r.kuznetsov@corp.mail.ru>2015-12-10 18:48:58 +0300
committerr.kuznetsov <r.kuznetsov@corp.mail.ru>2015-12-10 18:48:58 +0300
commita8ea9f0875b4a9b11190e59730665a6f2ccfced2 (patch)
tree8081c612e281b3787702b2348d4b7db0e5b9cfa4 /drape_frontend/tile_key.hpp
parent1c21b325335a78c15575d3d8501216a3fdeba89e (diff)
Fixed memory consumption on zooming
Diffstat (limited to 'drape_frontend/tile_key.hpp')
-rwxr-xr-xdrape_frontend/tile_key.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/drape_frontend/tile_key.hpp b/drape_frontend/tile_key.hpp
index 24a9e73d47..f51fa3a77e 100755
--- a/drape_frontend/tile_key.hpp
+++ b/drape_frontend/tile_key.hpp
@@ -21,6 +21,7 @@ struct TileKey
{
TileKey();
TileKey(int x, int y, int zoomLevel);
+ TileKey(TileKey const & key, uint64_t generation);
bool operator < (TileKey const & other) const;
bool operator == (TileKey const & other) const;
@@ -30,6 +31,7 @@ struct TileKey
int m_x;
int m_y;
int m_zoomLevel;
+ uint64_t m_generation;
};
string DebugPrint(TileKey const & key);