diff options
author | vng <viktor.govako@gmail.com> | 2016-05-06 17:30:27 +0300 |
---|---|---|
committer | vng <viktor.govako@gmail.com> | 2016-05-06 17:31:11 +0300 |
commit | e193309a6a11705734dd1c8ef627f0e74535d6ac (patch) | |
tree | e586e5d9cc629380256921f1dfe81d2874c78a1b /indexer/feature.cpp | |
parent | 0d2847d2bbd017aa5d44e0727bf1281e55a93c7d (diff) |
Removed dummy functions.
Diffstat (limited to 'indexer/feature.cpp')
-rw-r--r-- | indexer/feature.cpp | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/indexer/feature.cpp b/indexer/feature.cpp index c6a2bdde3d..13f3dbcabb 100644 --- a/indexer/feature.cpp +++ b/indexer/feature.cpp @@ -372,9 +372,6 @@ void FeatureType::ParseMetadata() const m_pLoader->ParseMetadata(); - if (HasInternet()) - m_metadata.Set(Metadata::FMD_INTERNET, "wlan"); - m_bMetadataParsed = true; } @@ -617,26 +614,6 @@ string FeatureType::GetRoadNumber() const return m_params.ref; } -bool FeatureType::HasInternet() const -{ - ParseTypes(); - - bool res = false; - - ForEachType([&res](uint32_t type) - { - if (!res) - { - static const uint32_t t1 = classif().GetTypeByPath({"internet_access"}); - - ftype::TruncValue(type, 1); - res = (type == t1); - } - }); - - return res; -} - void FeatureType::SwapGeometry(FeatureType & r) { ASSERT_EQUAL(m_bPointsParsed, r.m_bPointsParsed, ()); |