mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-29 09:13:46 +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:
@@ -15,8 +15,7 @@ TransitVersion GetVersion(Reader & reader)
|
||||
NonOwningReaderSource src(reader);
|
||||
uint16_t headerVersion = std::numeric_limits<uint16_t>::max();
|
||||
ReadPrimitiveFromSource(src, headerVersion);
|
||||
CHECK_LESS(headerVersion, static_cast<uint16_t>(TransitVersion::Counter),
|
||||
("Invalid transit header version."));
|
||||
CHECK_LESS(headerVersion, static_cast<uint16_t>(TransitVersion::Counter), ("Invalid transit header version."));
|
||||
|
||||
return static_cast<TransitVersion>(headerVersion);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user