mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-19 04:53:36 +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:
@@ -24,7 +24,7 @@ uint64_t GetOsmID(FeatureBuilder const & fb)
|
||||
AddressesHolder::AddressInfo FromFB(FeatureBuilder const & fb)
|
||||
{
|
||||
auto const & params = fb.GetParams();
|
||||
return { params.house.Get(), std::string(params.GetStreet()), std::string(params.GetPostcode()), {} };
|
||||
return {params.house.Get(), std::string(params.GetStreet()), std::string(params.GetPostcode()), {}};
|
||||
}
|
||||
|
||||
// Current stats:
|
||||
@@ -35,8 +35,7 @@ void LogWarning(std::string const & msg, uint64_t id)
|
||||
{
|
||||
LOG(LWARNING, ("addr:interpolation: " + msg, id));
|
||||
}
|
||||
} // namespace
|
||||
|
||||
} // namespace
|
||||
|
||||
std::string AddressesHolder::AddressInfo::FormatRange() const
|
||||
{
|
||||
@@ -81,7 +80,6 @@ std::string AddressesHolder::AddressInfo::FormatRange() const
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void AddressesHolder::Add(FeatureBuilder const & fb)
|
||||
{
|
||||
CHECK(fb.IsPoint(), ());
|
||||
@@ -160,11 +158,7 @@ void AddressesHolder::Deserialize(std::string const & filePath)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
AddressesCollector::AddressesCollector(std::string const & filename)
|
||||
: CollectorInterface(filename)
|
||||
{
|
||||
}
|
||||
AddressesCollector::AddressesCollector(std::string const & filename) : CollectorInterface(filename) {}
|
||||
|
||||
std::shared_ptr<CollectorInterface> AddressesCollector::Clone(IDRInterfacePtr const & cache) const
|
||||
{
|
||||
@@ -231,4 +225,4 @@ void AddressesCollector::MergeInto(AddressesCollector & collector) const
|
||||
collector.m_interpolWays.emplace(e.first, e.second);
|
||||
}
|
||||
|
||||
} // namespace generator
|
||||
} // namespace generator
|
||||
|
||||
Reference in New Issue
Block a user