Skip to content

Commit

Permalink
updated transfers; updated capture-list
Browse files Browse the repository at this point in the history
  • Loading branch information
carstenhagelgans committed Nov 13, 2023
1 parent 1df2840 commit 6de4532
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .pkg
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
[transfers]
[email protected]:motis-project/transfers.git
branch=main
commit=e00289ff6c6ab9f26f0585a031e281f01b8f93ae
commit=0b98c6b1e326e9177d589cf14ae9a1f6193076c3
[utl]
[email protected]:motis-project/utl.git
branch=master
Expand Down
4 changes: 2 additions & 2 deletions modules/nigiri/src/nigiri.cc
Original file line number Diff line number Diff line change
Expand Up @@ -191,9 +191,9 @@ void nigiri::init(motis::module::registry& reg) {
{});

if (!impl_->tt_->get()->profiles_.empty()) {
for (auto [prf_name, prf_idx] : impl_->tt_->get()->profiles_) {
for (auto const& [prf_name, prf_idx] : impl_->tt_->get()->profiles_) {
reg.register_op(fmt::format("/nigiri/{}", prf_name),
[this, &prf_idx](mm::msg_ptr const& msg) {
[&, this](mm::msg_ptr const& msg) {
return route(impl_->tags_, **impl_->tt_,
impl_->get_rtt().get(), msg, prf_idx);
},
Expand Down

0 comments on commit 6de4532

Please sign in to comment.