diff options
author | Vladimir Byko-Ianko <v.bykoianko@corp.mail.ru> | 2016-07-25 10:49:28 +0300 |
---|---|---|
committer | Vladimir Byko-Ianko <v.bykoianko@corp.mail.ru> | 2016-07-26 18:51:57 +0300 |
commit | 73fccde2d4bc0e2ae41843a1f7fb574d9ccfce65 (patch) | |
tree | 3717e981cbc1d32710d138ce2caa8d7b7083864b /indexer/altitude_loader.hpp | |
parent | 979f48bfaf7322320801db215b1d0e3d231f8699 (diff) |
Review fixes.
Diffstat (limited to 'indexer/altitude_loader.hpp')
-rw-r--r-- | indexer/altitude_loader.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/indexer/altitude_loader.hpp b/indexer/altitude_loader.hpp index 964b19bc5a..cce768df67 100644 --- a/indexer/altitude_loader.hpp +++ b/indexer/altitude_loader.hpp @@ -16,8 +16,8 @@ class AltitudeLoader public: explicit AltitudeLoader(MwmValue const & mwmValue); - TAltitudes const & GetAltitudes(uint32_t featureId, size_t pointCount) const; - bool IsAvailable() const; + TAltitudes const & GetAltitudes(uint32_t featureId, size_t pointCount); + bool HasAltitudes() const; private: unique_ptr<CopiedMemoryRegion> m_altitudeAvailabilityRegion; @@ -27,7 +27,7 @@ private: succinct::elias_fano m_featureTable; unique_ptr<FilesContainerR::TReader> m_reader; - mutable map<uint32_t, TAltitudes> m_cache; + map<uint32_t, TAltitudes> m_cache; TAltitudes const m_dummy; AltitudeHeader m_header; }; |