Skip to content

Commit

Permalink
Update src/examples/petri/petri.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
victimsnino and github-actions[bot] authored Sep 18, 2022
1 parent 32904d4 commit cd15de4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/examples/petri/petri.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ int main()
[&transitions_subject](auto&& marking, const auto& places)
{
Transitions transitions;
std::tie(marking, transitions) = mutate_marking(std::move(marking), places);
std::tie(marking, transitions) = mutate_marking(std::forward<decltype(marking)>(marking), places);
for_each(transitions,
[dispatcher = transitions_subject.get_subscriber()](const auto& t)
{ dispatcher.on_next(t); });
Expand Down

0 comments on commit cd15de4

Please sign in to comment.