diff options
author | Yuri Gorshenin <y@mmaps.me> | 2015-04-03 14:23:08 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:41:36 +0300 |
commit | 7e21339eacb8154fee47c51baa60ee2c716f49e6 (patch) | |
tree | 9a6096a020218b8f690e429288345994013a5eeb /indexer/mwm_set.cpp | |
parent | 9e5ac4ef2a843481e59cbe5295c785a92a374bf9 (diff) |
Review fixes.
Diffstat (limited to 'indexer/mwm_set.cpp')
-rw-r--r-- | indexer/mwm_set.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indexer/mwm_set.cpp b/indexer/mwm_set.cpp index 608100b3fe..a56f0d5599 100644 --- a/indexer/mwm_set.cpp +++ b/indexer/mwm_set.cpp @@ -259,11 +259,11 @@ MwmSet::MwmValueBase * MwmSet::LockValueImpl(MwmId id) { ASSERT_LESS(id, m_info.size(), ()); if (id >= m_info.size()) - return NULL; + return nullptr; UpdateMwmInfo(id); if (!m_info[id].IsUpToDate()) - return NULL; + return nullptr; ++m_info[id].m_lockCount; |