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:
@@ -6,14 +6,12 @@
|
||||
|
||||
namespace generator
|
||||
{
|
||||
ProcessorCoastline::ProcessorCoastline(std::shared_ptr<FeatureProcessorQueue> const & queue)
|
||||
: m_queue(queue)
|
||||
ProcessorCoastline::ProcessorCoastline(std::shared_ptr<FeatureProcessorQueue> const & queue) : m_queue(queue)
|
||||
{
|
||||
m_processingChain = std::make_shared<RepresentationCoastlineLayer>();
|
||||
m_processingChain->Add(std::make_shared<PrepareCoastlineFeatureLayer>());
|
||||
auto affiliation = std::make_shared<feature::SingleAffiliation>(WORLD_COASTS_FILE_NAME);
|
||||
m_affiliationsLayer =
|
||||
std::make_shared<AffiliationsFeatureLayer>(kAffiliationsBufferSize, affiliation, m_queue);
|
||||
m_affiliationsLayer = std::make_shared<AffiliationsFeatureLayer>(kAffiliationsBufferSize, affiliation, m_queue);
|
||||
m_processingChain->Add(m_affiliationsLayer);
|
||||
}
|
||||
|
||||
@@ -27,5 +25,8 @@ void ProcessorCoastline::Process(feature::FeatureBuilder & feature)
|
||||
m_processingChain->Handle(feature);
|
||||
}
|
||||
|
||||
void ProcessorCoastline::Finish() { m_affiliationsLayer->AddBufferToQueue(); }
|
||||
void ProcessorCoastline::Finish()
|
||||
{
|
||||
m_affiliationsLayer->AddBufferToQueue();
|
||||
}
|
||||
} // namespace generator
|
||||
|
||||
Reference in New Issue
Block a user