mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-20 13:23:59 +00:00
Format all C++ and Java code via clang-format
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
This commit is contained in:
@@ -6,12 +6,15 @@
|
||||
|
||||
#include <string>
|
||||
|
||||
namespace strings { class UniString; }
|
||||
namespace strings
|
||||
{
|
||||
class UniString;
|
||||
}
|
||||
|
||||
namespace feature
|
||||
{
|
||||
int constexpr g_arrWorldScales[] = { 3, 5, 7, scales::GetUpperWorldScale() };
|
||||
int constexpr g_arrCountryScales[] = { 10, 12, 14, scales::GetUpperScale() };
|
||||
int constexpr g_arrWorldScales[] = {3, 5, 7, scales::GetUpperWorldScale()};
|
||||
int constexpr g_arrCountryScales[] = {10, 12, 14, scales::GetUpperScale()};
|
||||
static_assert(std::size(g_arrWorldScales) == std::size(g_arrCountryScales));
|
||||
|
||||
inline std::string GetTagForIndex(std::string const & prefix, size_t ind)
|
||||
@@ -22,4 +25,4 @@ inline std::string GetTagForIndex(std::string const & prefix, size_t ind)
|
||||
|
||||
uint8_t PopulationToRank(uint64_t p);
|
||||
uint64_t RankToPopulation(uint8_t r);
|
||||
} // namespace feature
|
||||
} // namespace feature
|
||||
|
||||
Reference in New Issue
Block a user