forked from organicmaps/organicmaps
Review fixes.
This commit is contained in:
parent
fd85eb9159
commit
1ad24377ed
2 changed files with 9 additions and 3 deletions
|
@ -62,8 +62,14 @@ bool TransitHeader::IsValid() const
|
|||
}
|
||||
|
||||
// FeatureIdentifiers -----------------------------------------------------------------------------
|
||||
FeatureIdentifiers::FeatureIdentifiers(OsmId osmId, FeatureId const & featureId, bool serializeFeatureIdOnly)
|
||||
: m_osmId(osmId), m_featureId(featureId), m_serializeFeatureIdOnly(serializeFeatureIdOnly)
|
||||
FeatureIdentifiers::FeatureIdentifiers(bool serializeFeatureIdOnly)
|
||||
: m_serializeFeatureIdOnly(serializeFeatureIdOnly)
|
||||
{
|
||||
}
|
||||
|
||||
FeatureIdentifiers::FeatureIdentifiers(OsmId osmId, FeatureId const & featureId,
|
||||
bool serializeFeatureIdOnly)
|
||||
: m_osmId(osmId), m_featureId(featureId), m_serializeFeatureIdOnly(serializeFeatureIdOnly)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
@ -85,7 +85,7 @@ static_assert(sizeof(TransitHeader) == 32, "Wrong header size of transit section
|
|||
class FeatureIdentifiers
|
||||
{
|
||||
public:
|
||||
explicit FeatureIdentifiers(bool serializeFeatureIdOnly) : m_serializeFeatureIdOnly(serializeFeatureIdOnly) {}
|
||||
explicit FeatureIdentifiers(bool serializeFeatureIdOnly);
|
||||
FeatureIdentifiers(OsmId osmId, FeatureId const & featureId, bool serializeFeatureIdOnly);
|
||||
|
||||
bool IsEqualForTesting(FeatureIdentifiers const & rhs) const { return m_featureId == rhs.m_featureId; }
|
||||
|
|
Loading…
Add table
Reference in a new issue