diff options
author | Alex Zolotarev <deathbaba@gmail.com> | 2011-05-12 20:19:06 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:17:16 +0300 |
commit | e1fb46711bc9bfbe97fe0098be371d5706d3a0f7 (patch) | |
tree | b9b0bccd9c5e6585d160161ce40c648740e2fd96 /indexer/feature_data.hpp | |
parent | 4b7081f127f1689064b0461239ee5593d8f9c6c8 (diff) |
Fixed GEOM_UNKNOWN warning
Diffstat (limited to 'indexer/feature_data.hpp')
-rw-r--r-- | indexer/feature_data.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/indexer/feature_data.hpp b/indexer/feature_data.hpp index d0e485e4dc..0da703823f 100644 --- a/indexer/feature_data.hpp +++ b/indexer/feature_data.hpp @@ -76,6 +76,8 @@ struct FeatureParamsBase case feature::GEOM_AREA: house.Write(sink); break; + default: + ASSERT(false, ("Undefined geometry type")); } } } @@ -102,6 +104,8 @@ struct FeatureParamsBase case feature::GEOM_AREA: house.Read(src); break; + default: + ASSERT(false, ("Undefined geometry type")); } } } |