Format all C++ and Java code via clang-format

Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
This commit is contained in:
Konstantin Pastbin
2025-08-17 14:32:37 +07:00
parent 9f0290c0ec
commit bfffa1fff4
2169 changed files with 56441 additions and 64188 deletions

View File

@@ -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;