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
path: root/editor
diff options
context:
space:
mode:
authorMaxim Pimenov <m@maps.me>2018-11-28 13:04:56 +0300
committerRoman Kuznetsov <r.kuznetsow@gmail.com>2018-11-30 16:01:49 +0300
commit5d5af46d48bf77f3632c9b039f7ce62e2a2904d5 (patch)
tree97acd4fbbacc61760489fe54bcf571b3835948e4 /editor
parent2da498b417b254a853543f68ecfc99a611cce1a0 (diff)
[base] Renamed CHECK_SWITCH to UNREACHABLE.
Diffstat (limited to 'editor')
-rw-r--r--editor/edits_migration.cpp2
-rw-r--r--editor/xml_feature.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/editor/edits_migration.cpp b/editor/edits_migration.cpp
index d04738efe7..fb1911888a 100644
--- a/editor/edits_migration.cpp
+++ b/editor/edits_migration.cpp
@@ -117,6 +117,6 @@ FeatureID MigrateFeatureIndex(osm::Editor::ForEachFeaturesNearByFn & forEach,
case XMLFeature::Type::Relation:
return MigrateWayOrRelatonFeatureIndex(forEach, xml, featureStatus, generateID);
}
- CHECK_SWITCH();
+ UNREACHABLE();
}
} // namespace editor
diff --git a/editor/xml_feature.cpp b/editor/xml_feature.cpp
index 849505ae3d..58e7c5a36e 100644
--- a/editor/xml_feature.cpp
+++ b/editor/xml_feature.cpp
@@ -365,7 +365,7 @@ string XMLFeature::TypeToString(Type type)
case Type::Way: return kWayType;
case Type::Relation: return kRelationType;
}
- CHECK_SWITCH();
+ UNREACHABLE();
}
// static