File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ class SM {
2020
2121 template <typename ... ExternalInjection>
2222 static void triggerEvent (Parent::Event event, Parent::StateMachine &sm, ExternalInjection... args) {
23- auto it = std::find_if (sm.transitions .begin (), sm.transitions .end (), [&](const auto &t) {
23+ auto it = std::ranges:: find_if (sm.transitions .begin (), sm.transitions .end (), [&](const auto &t) {
2424 return std::get<0 >(t) == sm.currentState && std::get<1 >(t) == event;
2525 });
2626
@@ -33,7 +33,7 @@ class SM {
3333
3434 template <typename ... ExternalInjection>
3535 static void setState (Parent::State state, Parent::StateMachine &sm, ExternalInjection... args) {
36- auto it = std::find_if (sm.entries .begin (), sm.entries .end (),
36+ auto it = std::ranges:: find_if (sm.entries .begin (), sm.entries .end (),
3737 [&](const auto &entry) { return std::get<0 >(entry) == state; });
3838
3939 if (it != sm.entries .end ()) {
You can’t perform that action at this time.
0 commit comments