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

@@ -40,10 +40,8 @@ bool Ge0Parser::Parse(std::string const & url, Result & result)
// http://comaps.app/ZCoordba64/Name
for (auto prefix : kGe0Prefixes)
{
if (url.starts_with(prefix))
return ParseAfterPrefix(url, prefix.size(), result);
}
return false;
}
@@ -147,12 +145,10 @@ std::string Ge0Parser::DecodeName(std::string name)
void Ge0Parser::SpacesToUnderscore(std::string & name)
{
for (size_t i = 0; i < name.size(); ++i)
{
if (name[i] == ' ')
name[i] = '_';
else if (name[i] == '_')
name[i] = ' ';
}
}
void Ge0Parser::ValidateName(std::string & name)