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

@@ -9,9 +9,9 @@
#include <future>
#include <string>
#include <QtCore/QFile>
#include <QtCore/QDir>
#include <QtCore/QCoreApplication>
#include <QtCore/QDir>
#include <QtCore/QFile>
namespace
{
@@ -54,7 +54,7 @@ void BuildAndApply(QString const & mapcssFile)
{
auto future = std::async(std::launch::async, BuildSkins, styleDir, outputDir);
BuildDrawingRules(mapcssFile, outputDir);
future.get(); // may rethrow exception from the BuildSkin
future.get(); // may rethrow exception from the BuildSkin
ApplyDrawingRules(outputDir);
ApplySkins(outputDir);
@@ -108,13 +108,13 @@ void RunRecalculationGeometryScript(QString const & mapcssFile)
CopyFromResources("types.txt", geometryToolResourceDir);
(void)ExecProcess("python", {
GetRecalculateGeometryScriptPath(),
resourceDir,
writableDir,
generatorToolPath,
appPath,
mapcssFile,
});
GetRecalculateGeometryScriptPath(),
resourceDir,
writableDir,
generatorToolPath,
appPath,
mapcssFile,
});
}
bool NeedRecalculate = false;