Format all C++ and Java code via clang-format

Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
This commit is contained in:
Konstantin Pastbin
2025-08-17 14:32:37 +07:00
parent 9f0290c0ec
commit bfffa1fff4
2169 changed files with 56441 additions and 64188 deletions

View File

@@ -18,8 +18,8 @@ enum class SpeedMacro : uint8_t
{
// Special values.
Undefined,
None, // No maxspeed restriction (E.g. a motorway in Germany).
Walk, // Driver should move as a walking person.
None, // No maxspeed restriction (E.g. a motorway in Germany).
Walk, // Driver should move as a walking person.
// Km per hour.
Speed1KmPH = 10,
@@ -257,18 +257,12 @@ public:
struct Less
{
bool operator() (FeatureMaxspeed const & l, FeatureMaxspeed const & r) const
bool operator()(FeatureMaxspeed const & l, FeatureMaxspeed const & r) const
{
return l.m_featureId < r.m_featureId;
}
bool operator() (uint32_t l, FeatureMaxspeed const & r) const
{
return l < r.m_featureId;
}
bool operator() (FeatureMaxspeed const & l, uint32_t r) const
{
return l.m_featureId < r;
}
bool operator()(uint32_t l, FeatureMaxspeed const & r) const { return l < r.m_featureId; }
bool operator()(FeatureMaxspeed const & l, uint32_t r) const { return l.m_featureId < r; }
};
bool IsValid() const { return m_maxspeed.IsValid(); }