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

@@ -24,8 +24,7 @@ struct City
{
City(string const & name, m2::PointD const & center, uint64_t population, FeatureID const & id)
: m_item(ToMultilang(name), center, {} /* boundaries */, population, id)
{
}
{}
LocalityItem m_item;
};
@@ -58,11 +57,10 @@ MatchedCity GetMatchedCity(m2::PointD const & point, vector<City> const & cities
UNIT_TEST(LocalitySelector_Test1)
{
MwmSet::MwmId mwmId;
auto const city =
GetMatchedCity(m2::PointD(-97.56345, 26.79672),
{{"Matamoros", m2::PointD(-97.50665, 26.79718), 918536, {mwmId, 0}},
auto const city = GetMatchedCity(m2::PointD(-97.56345, 26.79672),
{{"Matamoros", m2::PointD(-97.50665, 26.79718), 918536, {mwmId, 0}},
{"Brownsville", m2::PointD(-97.48910, 26.84558), 180663, {mwmId, 1}}});
{"Brownsville", m2::PointD(-97.48910, 26.84558), 180663, {mwmId, 1}}});
TEST_EQUAL(city.m_name, "Matamoros", ());
TEST_EQUAL(city.m_id.m_index, 0, ());
}