mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-23 06:33:42 +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:
@@ -8,8 +8,8 @@
|
||||
#include <algorithm>
|
||||
#include <deque>
|
||||
#include <list>
|
||||
#include <vector>
|
||||
#include <unordered_map>
|
||||
#include <vector>
|
||||
|
||||
namespace topography_generator
|
||||
{
|
||||
@@ -36,7 +36,7 @@ public:
|
||||
Contour contourMerc;
|
||||
contourMerc.reserve(contour.size());
|
||||
std::transform(contour.begin(), contour.end(), std::back_inserter(contourMerc),
|
||||
[](ms::LatLon const & pt){ return mercator::FromLatLon(pt); });
|
||||
[](ms::LatLon const & pt) { return mercator::FromLatLon(pt); });
|
||||
|
||||
contours[levelValue].emplace_back(std::move(contourMerc));
|
||||
}
|
||||
@@ -49,9 +49,7 @@ private:
|
||||
|
||||
struct ActiveContour
|
||||
{
|
||||
explicit ActiveContour(ContourRaw && isoline)
|
||||
: m_countour(std::move(isoline))
|
||||
{}
|
||||
explicit ActiveContour(ContourRaw && isoline) : m_countour(std::move(isoline)) {}
|
||||
|
||||
ContourRaw m_countour;
|
||||
bool m_active = true;
|
||||
|
||||
Reference in New Issue
Block a user