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

@@ -24,11 +24,13 @@ bool Less(FeatureBuilder const & lhs, FeatureBuilder const & rhs)
auto const lKeyPoint = lhs.GetKeyPoint();
auto const rKeyPoint = rhs.GetKeyPoint();
return std::tie(lGeomType, lId, lPointsCount, lKeyPoint) <
std::tie(rGeomType, rId, rPointsCount, rKeyPoint);
return std::tie(lGeomType, lId, lPointsCount, lKeyPoint) < std::tie(rGeomType, rId, rPointsCount, rKeyPoint);
}
void Order(std::vector<FeatureBuilder> & fbs) { std::sort(std::begin(fbs), std::end(fbs), Less); }
void Order(std::vector<FeatureBuilder> & fbs)
{
std::sort(std::begin(fbs), std::end(fbs), Less);
}
void OrderTextFileByLine(std::string const & filename)
{
@@ -50,8 +52,7 @@ void OrderTextFileByLine(std::string const & filename)
}
std::vector<std::vector<std::string>> GetAffiliations(std::vector<FeatureBuilder> const & fbs,
AffiliationInterface const & affiliation,
size_t threadsCount)
AffiliationInterface const & affiliation, size_t threadsCount)
{
base::ComputationalThreadPool pool(threadsCount);
std::vector<std::future<std::vector<std::string>>> futuresAffiliations;