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:
authorVladimir Byko-Ianko <v.bykoianko@corp.mail.ru>2016-07-19 17:22:26 +0300
committerVladimir Byko-Ianko <v.bykoianko@corp.mail.ru>2016-07-23 10:25:11 +0300
commit18067c6270fa7edbc6b391468971d3aaa3a7df95 (patch)
tree76c4bf51fa916127d282b0f6be89c402ee3654f7 /indexer
parent3fa7071a1b57145da7559144f2316ad3be555d39 (diff)
Review fixes.
Diffstat (limited to 'indexer')
-rw-r--r--indexer/altitude_loader.cpp4
-rw-r--r--indexer/altitude_loader.hpp2
-rw-r--r--indexer/feature_altitude.hpp2
-rw-r--r--indexer/feature_loader_base.cpp2
4 files changed, 5 insertions, 5 deletions
diff --git a/indexer/altitude_loader.cpp b/indexer/altitude_loader.cpp
index 21c25ac9b0..5d539f5110 100644
--- a/indexer/altitude_loader.cpp
+++ b/indexer/altitude_loader.cpp
@@ -30,7 +30,7 @@ void ReadBuffer(ReaderSource<FilesContainerR::TReader> & rs, vector<char> & buf)
namespace feature
{
AltitudeLoader::AltitudeLoader(MwmValue const * mwmValue)
- : reader(mwmValue->m_cont.GetReader(ALTITUDE_FILE_TAG)), m_altitudeInfoOffset(0), m_minAltitude(kInvalidAltitude)
+ : reader(mwmValue->m_cont.GetReader(ALTITUDES_FILE_TAG)), m_altitudeInfoOffset(0), m_minAltitude(kInvalidAltitude)
{
if (!mwmValue || mwmValue->GetHeader().GetFormat() < version::Format::v8 )
return;
@@ -54,7 +54,7 @@ AltitudeLoader::AltitudeLoader(MwmValue const * mwmValue)
{
m_altitudeInfoOffset = 0;
m_minAltitude = kInvalidAltitude;
- LOG(LINFO, ("MWM does not contain", ALTITUDE_FILE_TAG, "section.", e.Msg()));
+ LOG(LINFO, ("MWM does not contain", ALTITUDES_FILE_TAG, "section.", e.Msg()));
}
}
diff --git a/indexer/altitude_loader.hpp b/indexer/altitude_loader.hpp
index d7a27785de..1b11a9792c 100644
--- a/indexer/altitude_loader.hpp
+++ b/indexer/altitude_loader.hpp
@@ -15,7 +15,7 @@ using TAltitudeSectionOffset = uint32_t;
class AltitudeLoader
{
public:
- AltitudeLoader(MwmValue const * mwmValue);
+ explicit AltitudeLoader(MwmValue const * mwmValue);
TAltitudes GetAltitude(uint32_t featureId, size_t pointCount) const;
diff --git a/indexer/feature_altitude.hpp b/indexer/feature_altitude.hpp
index 84582fac7c..64ec8161cf 100644
--- a/indexer/feature_altitude.hpp
+++ b/indexer/feature_altitude.hpp
@@ -15,7 +15,7 @@ class Altitude
{
public:
Altitude() = default;
- Altitude(TAltitudes const & altitudes) : m_pointAlt(altitudes) {}
+ explicit Altitude(TAltitudes const & altitudes) : m_pointAlt(altitudes) {}
template <class TSink>
void Serialize(TAltitude minAltitude, TSink & sink) const
diff --git a/indexer/feature_loader_base.cpp b/indexer/feature_loader_base.cpp
index 8d13bfca02..4c2b4d5caf 100644
--- a/indexer/feature_loader_base.cpp
+++ b/indexer/feature_loader_base.cpp
@@ -46,7 +46,7 @@ SharedLoadInfo::TReader SharedLoadInfo::GetMetadataIndexReader() const
SharedLoadInfo::TReader SharedLoadInfo::GetAltitudeReader() const
{
- return m_cont.GetReader(ALTITUDE_FILE_TAG);
+ return m_cont.GetReader(ALTITUDES_FILE_TAG);
}
SharedLoadInfo::TReader SharedLoadInfo::GetGeometryReader(int ind) const