mirror of
https://codeberg.org/comaps/comaps
synced 2026-01-03 19:33:49 +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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user