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:
@@ -8,14 +8,14 @@ namespace generator
|
||||
{
|
||||
ProcessorWorld::ProcessorWorld(std::shared_ptr<FeatureProcessorQueue> const & queue,
|
||||
std::string const & popularityFilename)
|
||||
: m_popularityFilename(popularityFilename), m_queue(queue)
|
||||
: m_popularityFilename(popularityFilename)
|
||||
, m_queue(queue)
|
||||
{
|
||||
m_processingChain = std::make_shared<RepresentationLayer>();
|
||||
m_processingChain->Add(std::make_shared<PrepareFeatureLayer>());
|
||||
m_processingChain->Add(std::make_shared<WorldLayer>(popularityFilename));
|
||||
auto affiliation = std::make_shared<feature::SingleAffiliation>(WORLD_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);
|
||||
}
|
||||
|
||||
@@ -29,5 +29,8 @@ void ProcessorWorld::Process(feature::FeatureBuilder & feature)
|
||||
m_processingChain->Handle(feature);
|
||||
}
|
||||
|
||||
void ProcessorWorld::Finish() { m_affiliationsLayer->AddBufferToQueue(); }
|
||||
void ProcessorWorld::Finish()
|
||||
{
|
||||
m_affiliationsLayer->AddBufferToQueue();
|
||||
}
|
||||
} // namespace generator
|
||||
|
||||
Reference in New Issue
Block a user