diff options
author | Alexander Zatsepin <az@mapswithme.com> | 2018-04-16 20:18:36 +0300 |
---|---|---|
committer | Roman Kuznetsov <r.kuznetsow@gmail.com> | 2018-04-18 10:12:22 +0300 |
commit | 043678543ce63e4105df34bf86efeb7f6284a377 (patch) | |
tree | 7c91aa21746fa99e8aa17ee2316256bdfb61e7cd /indexer | |
parent | af095a8d16200d36de792c568d5860d80c3d84c9 (diff) |
[core] Tightened the thread checker
Diffstat (limited to 'indexer')
-rw-r--r-- | indexer/osm_editor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indexer/osm_editor.cpp b/indexer/osm_editor.cpp index cdf2f3312d..bb6b7b2c8a 100644 --- a/indexer/osm_editor.cpp +++ b/indexer/osm_editor.cpp @@ -1004,7 +1004,7 @@ NewFeatureCategories Editor::GetNewFeatureCategories() const FeatureID Editor::GenerateNewFeatureId(MwmSet::MwmId const & id) const { - DECLARE_AND_ASSERT_THREAD_CHECKER("GenerateNewFeatureId is single-threaded."); + DECLARE_AND_CHECK_THREAD_CHECKER("GenerateNewFeatureId is single-threaded."); // TODO(vng): Double-check if new feature indexes should uninterruptedly continue after existing indexes in mwm file. uint32_t featureIndex = feature::FakeFeatureIds::kEditorCreatedFeaturesStart; auto const found = m_features.find(id); |