From fd04c3c3dda81e7cbc96143c826a55ffb6e09a25 Mon Sep 17 00:00:00 2001 From: Vladimir Byko-Ianko Date: Sat, 9 Jun 2018 10:05:05 +0300 Subject: [PATCH] git-clang-format --- routing_common/vehicle_model.cpp | 2 +- routing_common/vehicle_model.hpp | 9 ++++----- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/routing_common/vehicle_model.cpp b/routing_common/vehicle_model.cpp index 3474b4484d..dd60daecfb 100644 --- a/routing_common/vehicle_model.cpp +++ b/routing_common/vehicle_model.cpp @@ -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 diff --git a/routing_common/vehicle_model.hpp b/routing_common/vehicle_model.hpp index 7ceba6a0c3..28402b26c7 100644 --- a/routing_common/vehicle_model.hpp +++ b/routing_common/vehicle_model.hpp @@ -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); }