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

@@ -5,8 +5,8 @@
#include "indexer/ftypes_matcher.hpp"
#include <string>
#include <vector>
#include <unordered_map>
#include <vector>
namespace indexer
{
@@ -22,13 +22,12 @@ public:
{
auto it = m_map.find(key);
if (it != m_map.end())
{
for (auto const & v : it->second)
toDo(v);
}
}
template <class Types> static bool CanApply(Types const & types)
template <class Types>
static bool CanApply(Types const & types)
{
auto const type = ftypes::IsLocalityChecker::Instance().GetType(types);
return (type == ftypes::LocalityType::Country || type == ftypes::LocalityType::State);
@@ -42,6 +41,6 @@ private:
// An attempt to rewrite the search index of an old mwm may result in a future crash
// when using search because this function does not update mwm's version. This results
// in version mismatch when trying to read the index.
bool BuildSearchIndexFromDataFile(std::string const & country, feature::GenerateInfo const & info,
bool forceRebuild, uint32_t threadsCount);
bool BuildSearchIndexFromDataFile(std::string const & country, feature::GenerateInfo const & info, bool forceRebuild,
uint32_t threadsCount);
} // namespace indexer