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:
authorДобрый Ээх <bukharaev@gmail.com>2017-08-02 14:46:46 +0300
committerVladimir Byko-Ianko <bykoianko@gmail.com>2017-08-07 18:22:22 +0300
commitc44b55e368c41253e32cec5572e48873137071b2 (patch)
tree0a85245f5e9424306788aecd2ab048c5e07c601b /indexer/altitude_loader.hpp
parent26f348e47f45ebaa2a3def023d84b105ad8600c2 (diff)
[routing] Estimate altitudes in index router
Diffstat (limited to 'indexer/altitude_loader.hpp')
-rw-r--r--indexer/altitude_loader.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indexer/altitude_loader.hpp b/indexer/altitude_loader.hpp
index 0586fa2d33..a828c673fd 100644
--- a/indexer/altitude_loader.hpp
+++ b/indexer/altitude_loader.hpp
@@ -23,6 +23,8 @@ public:
bool HasAltitudes() const;
+ void ClearCache() { m_cache.clear(); }
+
private:
unique_ptr<CopiedMemoryRegion> m_altitudeAvailabilityRegion;
unique_ptr<CopiedMemoryRegion> m_featureTableRegion;