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:
authorExMix <rahuba.youri@mapswithme.com>2014-02-07 18:54:37 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:11:22 +0300
commitd6c800964475b3a566d6445760061ed7fd6cc94d (patch)
tree4e2c0f63e68125bba60b41e73d983d0bfcaf52ff /drape_frontend/batchers_pool.cpp
parent488e547e86510d3f7e9676e4784dae1db46378db (diff)
[drape] review fix
Diffstat (limited to 'drape_frontend/batchers_pool.cpp')
-rw-r--r--drape_frontend/batchers_pool.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/drape_frontend/batchers_pool.cpp b/drape_frontend/batchers_pool.cpp
index 0bf7fe7865..e3b5cc9d04 100644
--- a/drape_frontend/batchers_pool.cpp
+++ b/drape_frontend/batchers_pool.cpp
@@ -106,6 +106,7 @@ namespace df
reserved_batchers_t::iterator it = m_reservedBatchers.find(key);
ASSERT(it != m_reservedBatchers.end(), ());
+ ASSERT_GREATER(it->second.second, 0, ());
if ((--it->second.second)== 0)
{
MasterPointer<Batcher> batcher = it->second.first;