Skip to content

Commit

Permalink
Refactor agent variable declaration in Dynamics.hpp
Browse files Browse the repository at this point in the history
  • Loading branch information
Grufoony committed Dec 12, 2023
1 parent 15de91c commit bd0ece9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dsm/headers/Dynamics.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@ namespace dsm {
if (street->queue().empty()) {
continue;
}
auto& agent = this->m_agents[street->queue().front()];
auto agent = this->m_agents[street->queue().front()];
if (agent->delay() > 0) {
continue;
}
Expand Down

0 comments on commit bd0ece9

Please sign in to comment.