forked from organicmaps/organicmaps
[indexer] Fix ReadFeatureType: now we use it to read all features including created.
This commit is contained in:
parent
c124f46b57
commit
b8e7829f76
1 changed files with 1 additions and 1 deletions
|
@ -72,9 +72,9 @@ void ReadFeatureType(function<void(FeatureType &)> const & fn, FeatureSource & s
|
|||
FeatureType feature;
|
||||
switch (src.GetFeatureStatus(index))
|
||||
{
|
||||
case FeatureStatus::Created: CHECK(false, ("Created features index should be generated."));
|
||||
case FeatureStatus::Deleted:
|
||||
case FeatureStatus::Obsolete: return;
|
||||
case FeatureStatus::Created:
|
||||
case FeatureStatus::Modified:
|
||||
{
|
||||
VERIFY(src.GetModifiedFeature(index, feature), ());
|
||||
|
|
Loading…
Add table
Reference in a new issue