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

@@ -20,8 +20,10 @@ public:
Locality(std::string const & placeType, OsmElement const & elem);
// Used in cpp module only.
template <class Sink> void Serialize(Sink & sink) const;
template <class Source> void Deserialize(Source & src);
template <class Sink>
void Serialize(Sink & sink) const;
template <class Source>
void Deserialize(Source & src);
/// @param[in] placeName Original Node place's name if available to match.
/// @return Is this boundary better than rhs.
@@ -69,7 +71,8 @@ public:
void Add(IDType id, Locality && loc, IDType nodeID);
/// @note Mutable function!
template <class FnT> void ForEachLocality(FnT && fn)
template <class FnT>
void ForEachLocality(FnT && fn)
{
for (auto & loc : m_data)
fn(loc);