diff options
-rw-r--r-- | src/scxml/qscxmlstatemachine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scxml/qscxmlstatemachine.cpp b/src/scxml/qscxmlstatemachine.cpp index 915844c..a61fb07 100644 --- a/src/scxml/qscxmlstatemachine.cpp +++ b/src/scxml/qscxmlstatemachine.cpp @@ -518,7 +518,7 @@ void QScxmlStateMachinePrivate::routeEvent(QScxmlEvent *event) } else if (origin.startsWith(QStringLiteral("#_")) && origin != QStringLiteral("#_internal")) { // route to children auto originId = origin.midRef(2); - for (auto invokedService : m_invokedServices) { + for (const auto &invokedService : m_invokedServices) { auto service = invokedService.service; if (service == nullptr) continue; |