summaryrefslogtreecommitdiffstats
path: root/src/scxml/qscxmltabledata.cpp
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2016-11-24 16:17:20 +0100
committerUlf Hermann <ulf.hermann@qt.io>2016-12-19 09:23:27 +0000
commit51db93cf783662a155ced91dceef7508ffa955a6 (patch)
tree52fc72bb59cad1a04d9f19bb6892b0d0082c84c3 /src/scxml/qscxmltabledata.cpp
parent10bcb2ee73b557a9dfd72143f7bf0b42c607ecaf (diff)
Resolve the mixup of various ID types
We should not compare instances of different IDs with one another. Change-Id: I830d747ffde4c162c73475a600cef23e10c898e5 Reviewed-by: Erik Verbruggen <erik.verbruggen@qt.io>
Diffstat (limited to 'src/scxml/qscxmltabledata.cpp')
-rw-r--r--src/scxml/qscxmltabledata.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/scxml/qscxmltabledata.cpp b/src/scxml/qscxmltabledata.cpp
index 2457840..5d5115e 100644
--- a/src/scxml/qscxmltabledata.cpp
+++ b/src/scxml/qscxmltabledata.cpp
@@ -68,7 +68,7 @@ public:
{
m_activeSequences.reserve(4);
- tableData.theInitialSetup = QScxmlExecutableContent::NoInstruction;
+ tableData.theInitialSetup = QScxmlExecutableContent::NoContainer;
}
void buildTableData(DocumentModel::ScxmlDocument *doc)
@@ -264,7 +264,7 @@ protected: // visitor
params.append(p);
}
QScxmlExecutableContent::ContainerId finalize =
- QScxmlExecutableContent::NoInstruction;
+ QScxmlExecutableContent::NoContainer;
if (!invoke->finalize.isEmpty()) {
finalize = startNewSequence();
visit(&invoke->finalize);
@@ -528,7 +528,7 @@ protected:
ContainerId generate(const DocumentModel::InstructionSequences &inSequences)
{
if (inSequences.isEmpty())
- return NoInstruction;
+ return NoContainer;
auto id = m_instructions.newContainerId();
auto outSequences = m_instructions.add<InstructionSequences>();