Commit 4c84409e authored by Emmanuel Promayon's avatar Emmanuel Promayon

FIXED (tentative) strange exception on MSVC

parent d4284dd7
......@@ -134,7 +134,7 @@ void ActionStateMachine::autoNext() {
// loop until no more state is available
while (currentState!=nullptr && currentState->transitions().size()>0) {
// look for the "Next" or "Quit" transition
auto it = currentState->transitions().begin();
QList<QAbstractTransition*>::iterator it = currentState->transitions().begin();
bool foundNextState = false;
while (it!=currentState->transitions().end() && !foundNextState) { // && nextState==nullptr) {
// all transition in this state machine are ActionTransition instances...
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment