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
diff options
context:
space:
mode:
Diffstat (limited to 'generator/statistics.cpp')
-rw-r--r--generator/statistics.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/generator/statistics.cpp b/generator/statistics.cpp
index 84c99ea74a..0d9da58ad7 100644
--- a/generator/statistics.cpp
+++ b/generator/statistics.cpp
@@ -13,6 +13,8 @@
#include "../base/start_mem_debug.hpp"
+using namespace feature;
+
namespace stats
{
void FileContainerStatistic(string const & fName)
@@ -88,12 +90,12 @@ namespace stats
cout << prefix << ": size = " << info.m_size << "; count = " << info.m_count << endl;
}
- string GetKey(FeatureBase::FeatureType type)
+ string GetKey(EGeomType type)
{
switch (type)
{
- case FeatureBase::FEATURE_TYPE_LINE: return "Line";
- case FeatureBase::FEATURE_TYPE_AREA: return "Area";
+ case GEOM_LINE: return "Line";
+ case GEOM_AREA: return "Area";
default: return "Point";
}
}