summaryrefslogtreecommitdiffstats
path: root/src/uscxml/debug/SCXMLDotWriter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/uscxml/debug/SCXMLDotWriter.cpp')
-rw-r--r--src/uscxml/debug/SCXMLDotWriter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/uscxml/debug/SCXMLDotWriter.cpp b/src/uscxml/debug/SCXMLDotWriter.cpp
index 2bccb14..d5471de 100644
--- a/src/uscxml/debug/SCXMLDotWriter.cpp
+++ b/src/uscxml/debug/SCXMLDotWriter.cpp
@@ -176,7 +176,7 @@ void SCXMLDotWriter::writeStateElement(std::ostream& os, const Arabica::DOM::Ele
os << "]" << std::endl;
}
}
- if (InterpreterImpl::isState(childElems.item(i))) {
+ if (InterpreterImpl::isState(Element<std::string>(childElems.item(i)))) {
writeStateElement(os, (Arabica::DOM::Element<std::string>)childElems.item(i));
}
if (childElems.item(i).getNodeType() == Node_base::ELEMENT_NODE && iequals(TAGNAME(childElems.item(i)), "initial")) {
@@ -256,7 +256,7 @@ std::string SCXMLDotWriter::getDetailedLabel(const Arabica::DOM::Element<std::st
if (childElems.item(i).getNodeType() != Node_base::ELEMENT_NODE)
continue;
- if (InterpreterImpl::isState(childElems.item(i)) ||
+ if (InterpreterImpl::isState(Element<std::string>(childElems.item(i))) ||
iequals(TAGNAME(childElems.item(i)), "transition") ||
iequals(TAGNAME(childElems.item(i)), "initial") ||
false)