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

@@ -55,7 +55,7 @@ public:
uint32_t fID;
if (!m_map->Get(houseId, fID))
return {};
return {{ fID, StreetIdType::FeatureId }};
return {{fID, StreetIdType::FeatureId}};
}
private:
@@ -99,7 +99,7 @@ unique_ptr<HouseToStreetTable> LoadHouseTableImpl(MwmValue const & value, std::s
result = make_unique<DummyTable>();
return result;
}
} // namespace
} // namespace
std::unique_ptr<HouseToStreetTable> LoadHouseToStreetTable(MwmValue const & value)
{
@@ -146,8 +146,7 @@ void HouseToStreetTableBuilder::Freeze(Writer & writer) const
header.m_tableOffset = base::asserted_cast<uint32_t>(writer.Pos() - startOffset);
m_builder.Freeze(writer, writeBlockCallback);
header.m_tableSize =
base::asserted_cast<uint32_t>(writer.Pos() - header.m_tableOffset - startOffset);
header.m_tableSize = base::asserted_cast<uint32_t>(writer.Pos() - header.m_tableOffset - startOffset);
auto const endOffset = writer.Pos();
writer.Seek(startOffset);