mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-22 22:23:44 +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:
@@ -26,7 +26,6 @@
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
|
||||
namespace routing_builder
|
||||
{
|
||||
|
||||
@@ -82,12 +81,10 @@ CameraCollector::CameraInfo CameraCollector::CameraInfo::Read(ReaderSource<FileR
|
||||
// static
|
||||
void CameraCollector::CameraInfo::Write(FileWriter & writer, CameraInfo const & camera)
|
||||
{
|
||||
uint32_t const lat =
|
||||
DoubleToUint32(camera.m_lat, ms::LatLon::kMinLat, ms::LatLon::kMaxLat, kPointCoordBits);
|
||||
uint32_t const lat = DoubleToUint32(camera.m_lat, ms::LatLon::kMinLat, ms::LatLon::kMaxLat, kPointCoordBits);
|
||||
WriteToSink(writer, lat);
|
||||
|
||||
uint32_t const lon =
|
||||
DoubleToUint32(camera.m_lon, ms::LatLon::kMinLon, ms::LatLon::kMaxLon, kPointCoordBits);
|
||||
uint32_t const lon = DoubleToUint32(camera.m_lon, ms::LatLon::kMinLon, ms::LatLon::kMaxLon, kPointCoordBits);
|
||||
WriteToSink(writer, lon);
|
||||
|
||||
WriteToSink(writer, camera.m_speedKmPH);
|
||||
@@ -159,9 +156,9 @@ void CameraCollector::OrderCollectedData()
|
||||
}
|
||||
|
||||
CameraCollector::CameraCollector(std::string const & filename, IDRInterfacePtr cache)
|
||||
: generator::CollectorInterface(filename), m_cache(std::move(cache))
|
||||
{
|
||||
}
|
||||
: generator::CollectorInterface(filename)
|
||||
, m_cache(std::move(cache))
|
||||
{}
|
||||
|
||||
std::shared_ptr<generator::CollectorInterface> CameraCollector::Clone(IDRInterfacePtr const & cache) const
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user