diff options
author | r.kuznetsov <r.kuznetsov@corp.mail.ru> | 2015-04-02 13:43:39 +0300 |
---|---|---|
committer | r.kuznetsov <r.kuznetsov@corp.mail.ru> | 2015-11-30 16:04:15 +0300 |
commit | 3d1b63b26027bb44591958cf1d6422d4c7deede3 (patch) | |
tree | 4ccd8b068ebc8797dd54121a1862789148cd8818 /drape_frontend/read_mwm_task.cpp | |
parent | 5401cc952e927c9feb6ac4f7cf4701b6abc8ae27 (diff) |
Fixed a bug with tiles removing
Diffstat (limited to 'drape_frontend/read_mwm_task.cpp')
-rw-r--r-- | drape_frontend/read_mwm_task.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drape_frontend/read_mwm_task.cpp b/drape_frontend/read_mwm_task.cpp index 4212b66b35..0f84502888 100644 --- a/drape_frontend/read_mwm_task.cpp +++ b/drape_frontend/read_mwm_task.cpp @@ -48,4 +48,13 @@ void ReadMWMTask::Do() } } +TileKey ReadMWMTask::GetTileKey() const +{ + shared_ptr<TileInfo> tileInfo = m_tileInfo.lock(); + if (tileInfo == NULL) + return TileKey(); + + return tileInfo->GetTileKey(); +} + } // namespace df |