mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-19 21:13:35 +00:00
Format all C++ and Java code via clang-format
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user