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:
@@ -8,17 +8,20 @@
|
||||
|
||||
namespace generator
|
||||
{
|
||||
RawGeneratorWriter::RawGeneratorWriter(std::shared_ptr<FeatureProcessorQueue> const & queue,
|
||||
std::string const & path)
|
||||
: m_queue(queue), m_path(path)
|
||||
{
|
||||
}
|
||||
RawGeneratorWriter::RawGeneratorWriter(std::shared_ptr<FeatureProcessorQueue> const & queue, std::string const & path)
|
||||
: m_queue(queue)
|
||||
, m_path(path)
|
||||
{}
|
||||
|
||||
RawGeneratorWriter::~RawGeneratorWriter() { ShutdownAndJoin(); }
|
||||
RawGeneratorWriter::~RawGeneratorWriter()
|
||||
{
|
||||
ShutdownAndJoin();
|
||||
}
|
||||
|
||||
void RawGeneratorWriter::Run()
|
||||
{
|
||||
m_thread = std::thread([&]() {
|
||||
m_thread = std::thread([&]()
|
||||
{
|
||||
while (true)
|
||||
{
|
||||
FeatureProcessorChunk chunk;
|
||||
@@ -39,7 +42,7 @@ std::vector<std::string> RawGeneratorWriter::GetNames()
|
||||
|
||||
std::vector<std::string> names;
|
||||
names.reserve(m_writers.size());
|
||||
for (const auto & p : m_writers)
|
||||
for (auto const & p : m_writers)
|
||||
names.emplace_back(p.first);
|
||||
|
||||
return names;
|
||||
|
||||
Reference in New Issue
Block a user