summaryrefslogtreecommitdiffstats
path: root/src/uscxml/messages/Data.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/uscxml/messages/Data.cpp')
-rw-r--r--src/uscxml/messages/Data.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/uscxml/messages/Data.cpp b/src/uscxml/messages/Data.cpp
index 911730a..7afad43 100644
--- a/src/uscxml/messages/Data.cpp
+++ b/src/uscxml/messages/Data.cpp
@@ -97,7 +97,7 @@ Data::Data(const Arabica::DOM::Node<std::string>& dom) {
std::string key;
switch (child.getNodeType()) {
case Arabica::DOM::Node_base::ELEMENT_NODE:
- key = TAGNAME(child);
+ key = TAGNAME_CAST(child);
break;
case Arabica::DOM::Node_base::ATTRIBUTE_NODE:
key = ((Arabica::DOM::Attr<std::string>)child).getName();