Fix formatting

This commit is contained in:
Dennis Luxen
2022-12-20 18:00:11 +01:00
parent d7c44f0bc0
commit 7c06726a35
454 changed files with 461 additions and 461 deletions
+2 -2
View File
@@ -14,7 +14,7 @@ inline std::ostream &operator<<(std::ostream &stream, const ConditionalRestricti
return stream << restriction.value << "=" << restriction.condition;
}
#endif
} // namespace osrm
} // namespace osrm::util
BOOST_FUSION_ADAPT_STRUCT(osrm::util::ConditionalRestriction,
(std::string, value)(std::string, condition))
@@ -86,4 +86,4 @@ std::vector<ConditionalRestriction> ParseConditionalRestrictions(const std::stri
return result;
}
} // namespace osrm
} // namespace osrm::util
+1 -1
View File
@@ -40,4 +40,4 @@ bool operator==(const FloatCoordinate lhs, const FloatCoordinate rhs)
bool operator!=(const Coordinate lhs, const Coordinate rhs) { return !(lhs == rhs); }
bool operator!=(const FloatCoordinate lhs, const FloatCoordinate rhs) { return !(lhs == rhs); }
} // namespace osrm
} // namespace osrm::util
+1 -1
View File
@@ -413,4 +413,4 @@ double computeArea(const std::vector<Coordinate> &polygon)
return area / 2.;
}
} // namespace osrm
} // namespace osrm::util::coordinate_calculation
+1 -1
View File
@@ -16,4 +16,4 @@ namespace osrm::util
void exception::anchor() const {}
void RuntimeError::anchor() const {}
} // namespace osrm
} // namespace osrm::util
+1 -1
View File
@@ -89,4 +89,4 @@ bool FingerPrint::IsDataCompatible(const FingerPrint &other) const
return IsValid() && other.major_version == major_version &&
other.minor_version == minor_version;
}
} // namespace osrm
} // namespace osrm::util
+1 -1
View File
@@ -66,4 +66,4 @@ CoordinateVectorToLineString::operator()(const std::vector<util::Coordinate> &in
return makeFeature("LineString", std::move(coordinates), properties);
}
} /* namespace osrm */
} // namespace osrm::util
+1 -1
View File
@@ -73,4 +73,4 @@ std::size_t BearingClass::findMatchingBearing(const double bearing) const
return std::distance(available_bearings.begin(), max_element);
}
} // namespace osrm
} // namespace osrm::util::guidance
+1 -1
View File
@@ -32,4 +32,4 @@ bool EntryClass::operator<(const EntryClass &other) const
return enabled_entries_flags < other.enabled_entries_flags;
}
} // namespace osrm
} // namespace osrm::util::guidance
+1 -1
View File
@@ -32,4 +32,4 @@ bool LaneTupleIdPair::operator==(const LaneTupleIdPair &other) const
return other.first == first && other.second == second;
}
} // namespace osrm
} // namespace osrm::util::guidance
+1 -1
View File
@@ -161,4 +161,4 @@ UnbufferedLog::UnbufferedLog(LogLevel level_)
{
stream.flags(std::ios_base::unitbuf);
}
} // namespace osrm
} // namespace osrm::util
+1 -1
View File
@@ -429,4 +429,4 @@ bool CheckOpeningHours(const std::vector<OpeningHours> &input, const struct tm &
return is_open;
}
} // namespace osrm
} // namespace osrm::util
+1 -1
View File
@@ -3,4 +3,4 @@
namespace osrm::util::detail
{
std::atomic_uint operation = {0};
} // namespace osrm
} // namespace osrm::util::detail
+1 -1
View File
@@ -169,4 +169,4 @@ boost::optional<struct tm> Timezoner::operator()(const point_t &point) const
}
return boost::none;
}
} // namespace osrm
} // namespace osrm::updater