Преглед на файлове

Fix missing parameter in DEFINE_STATE_MACHINE_TRANSITION_GUARD_true macro

Eric Ramat преди 1 година
родител
ревизия
d712fe2c71
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/utils/StateMachine.hpp

+ 1 - 1
src/utils/StateMachine.hpp

@@ -365,7 +365,7 @@ protected:
 #define DEFINE_STATE_MACHINE_TRANSITION_ACTION_false
 #define DEFINE_STATE_MACHINE_TRANSITION_EVENT_true bool event(const artis::traffic::core::Time & /* t */, int event) override;
 #define DEFINE_STATE_MACHINE_TRANSITION_EVENT_false
-#define DEFINE_STATE_MACHINE_TRANSITION_GUARD_true bool guard(const artis::traffic::core::Time & /* t */) const override;
+#define DEFINE_STATE_MACHINE_TRANSITION_GUARD_true bool guard(const artis::traffic::core::Time & /* t */, const artis::common::event::Value & /* value */) const override;
 #define DEFINE_STATE_MACHINE_TRANSITION_GUARD_false
 #define DEFINE_STATE_MACHINE_TRANSITION_NO_EVENT_true bool no_event() const override { return true; }
 #define DEFINE_STATE_MACHINE_TRANSITION_NO_EVENT_false