Skip to content

Commit 5a551e1

Browse files
added get current state method and tested
1 parent bf5a4b6 commit 5a551e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Fsm.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ void Fsm::trigger(int event)
107107
}
108108
}
109109

110-
State* get_current_state() {
110+
State* Fsm::get_current_state() {
111111
return m_current_state;
112112
}
113113

0 commit comments

Comments
 (0)