Skip to content

Commit

Permalink
Increase feed limit to 16bit (#75)
Browse files Browse the repository at this point in the history
Many feed databases such as transit.land have significantly more feeds than 256.
Fixes public-transport/transitous#80
  • Loading branch information
Pi-Cla authored Mar 3, 2024
1 parent 7e0f8fd commit 1125c21
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/nigiri/types.h
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ using section_db_idx_t = cista::strong<std::uint32_t, struct _section_db_idx>;
using trip_idx_t = cista::strong<std::uint32_t, struct _trip_idx>;
using trip_id_idx_t = cista::strong<std::uint32_t, struct _trip_id_str_idx>;
using transport_idx_t = cista::strong<std::uint32_t, struct _transport_idx>;
using source_idx_t = cista::strong<std::uint8_t, struct _source_idx>;
using source_idx_t = cista::strong<std::uint16_t, struct _source_idx>;
using day_idx_t = cista::strong<std::uint16_t, struct _day_idx>;
using timezone_idx_t = cista::strong<std::uint16_t, struct _timezone_idx>;
using merged_trips_idx_t =
Expand Down Expand Up @@ -433,4 +433,4 @@ template <>
struct fmt::formatter<nigiri::debug> : ostream_formatter {};

template <>
struct fmt::formatter<nigiri::delta> : ostream_formatter {};
struct fmt::formatter<nigiri::delta> : ostream_formatter {};

0 comments on commit 1125c21

Please sign in to comment.