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,29 +8,12 @@ namespace search
{
DisplayedCategories::DisplayedCategories(CategoriesHolder const & holder) : m_holder(holder)
{
m_keys = {"category_eat",
"category_hotel",
"category_food",
"category_tourism",
"category_wifi",
"category_transport",
"category_fuel",
"category_parking",
"category_shopping",
"category_secondhand",
"category_atm",
"category_nightlife",
"category_children",
"category_bank",
"category_entertainment",
"category_water",
"category_hospital",
"category_pharmacy",
"category_recycling",
"category_rv",
"category_police",
"category_toilet",
"category_post"};
m_keys = {"category_eat", "category_hotel", "category_food", "category_tourism",
"category_wifi", "category_transport", "category_fuel", "category_parking",
"category_shopping", "category_secondhand", "category_atm", "category_nightlife",
"category_children", "category_bank", "category_entertainment", "category_water",
"category_hospital", "category_pharmacy", "category_recycling", "category_rv",
"category_police", "category_toilet", "category_post"};
}
void DisplayedCategories::Modify(CategoriesModifier & modifier)
@@ -38,5 +21,8 @@ void DisplayedCategories::Modify(CategoriesModifier & modifier)
modifier.Modify(m_keys);
}
std::vector<std::string> const & DisplayedCategories::GetKeys() const { return m_keys; }
std::vector<std::string> const & DisplayedCategories::GetKeys() const
{
return m_keys;
}
} // namespace search