forked from organicmaps/organicmaps-tmp
git-clang-format
This commit is contained in:
parent
317e6da20b
commit
fd04c3c3dd
2 changed files with 5 additions and 6 deletions
|
@ -165,7 +165,7 @@ bool VehicleModel::HasPassThroughType(feature::TypesHolder const & types) const
|
|||
bool VehicleModel::IsRoadType(uint32_t type) const
|
||||
{
|
||||
return FindRoadType(type) != m_addRoadTypes.cend() ||
|
||||
m_highwayTypes.find(ftypes::BaseChecker::PrepareToMatch(type, 2)) != m_highwayTypes.end();
|
||||
m_highwayTypes.find(ftypes::BaseChecker::PrepareToMatch(type, 2)) != m_highwayTypes.end();
|
||||
}
|
||||
|
||||
VehicleModelInterface::RoadAvailability VehicleModel::GetRoadAvailability(feature::TypesHolder const & /* types */) const
|
||||
|
|
|
@ -81,9 +81,9 @@ public:
|
|||
// psurface|unpaved_good and psurface|unpaved_bad.
|
||||
struct FeatureTypeSurface
|
||||
{
|
||||
char const * m_types[2]; // 2-arity road type
|
||||
double m_speedFactor; // Factor (lowering) which reduces speed on feature in case of
|
||||
// bad pavement. It should be from 0.0 to 1.0.
|
||||
char const * m_types[2]; // 2-arity road type
|
||||
double m_speedFactor; // Factor (lowering) which reduces speed on feature in case of
|
||||
// bad pavement. It should be from 0.0 to 1.0.
|
||||
};
|
||||
|
||||
struct AdditionalRoadTags final
|
||||
|
@ -129,8 +129,7 @@ public:
|
|||
|
||||
bool EqualsForTests(VehicleModel const & rhs) const
|
||||
{
|
||||
return (m_highwayTypes == rhs.m_highwayTypes) &&
|
||||
(m_addRoadTypes == rhs.m_addRoadTypes) &&
|
||||
return (m_highwayTypes == rhs.m_highwayTypes) && (m_addRoadTypes == rhs.m_addRoadTypes) &&
|
||||
(m_onewayType == rhs.m_onewayType);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue