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

@@ -23,10 +23,7 @@ void SetBookmarksMinZoom(FileData & fileData, double countPerTile, int maxZoom)
UNUSED_VALUE(strings::to_int(s->second, score));
minZoomQuadtree.Add(bm.m_point, ValueType{&bm, score});
}
auto const setMinZoom = [](ValueType & valueType, int minZoom)
{
valueType.first->m_minZoom = minZoom;
};
auto const setMinZoom = [](ValueType & valueType, int minZoom) { valueType.first->m_minZoom = minZoom; };
minZoomQuadtree.SetMinZoom(countPerTile, maxZoom, setMinZoom);
}
@@ -36,7 +33,7 @@ bool MultiGeometry::IsValid() const
return !m_lines.empty();
}
void MultiGeometry::Clear()
void MultiGeometry::Clear()
{
m_lines.clear();
m_timestamps.clear();
@@ -47,10 +44,8 @@ bool MultiGeometry::HasTimestamps() const
if (m_timestamps.empty())
return false;
for (auto const & timestamp : m_timestamps)
{
if (!timestamp.empty())
return true;
}
return false;
}