Explorar el Código

Fix missing parameter in DEFINE_STATE_MACHINE_TRANSITION_GUARD_true macro

Eric Ramat hace 1 año
padre
commit
d712fe2c71
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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