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

@@ -61,7 +61,7 @@ UNIT_TEST(GpsTrackStorage_WriteRead)
stg.Append(points);
size_t i = 0;
stg.ForEach([&](location::GpsInfo const & point)->bool
stg.ForEach([&](location::GpsInfo const & point) -> bool
{
TEST_EQUAL(point.m_latitude, points[i].m_latitude, ());
TEST_EQUAL(point.m_longitude, points[i].m_longitude, ());
@@ -78,7 +78,7 @@ UNIT_TEST(GpsTrackStorage_WriteRead)
GpsTrackStorage stg(filePath);
size_t i = 0;
stg.ForEach([&](location::GpsInfo const & point)->bool
stg.ForEach([&](location::GpsInfo const & point) -> bool
{
TEST_EQUAL(point.m_latitude, points[i].m_latitude, ());
TEST_EQUAL(point.m_longitude, points[i].m_longitude, ());
@@ -98,8 +98,12 @@ UNIT_TEST(GpsTrackStorage_WriteRead)
GpsTrackStorage stg(filePath);
size_t i = 0;
stg.ForEach([&](location::GpsInfo const & point)->bool{ ++i; return true; });
stg.ForEach([&](location::GpsInfo const & point) -> bool
{
++i;
return true;
});
TEST_EQUAL(i, 0, ());
}
}
} // namespace gps_track_storage_test
} // namespace gps_track_storage_test