diff options
Diffstat (limited to 'src/uscxml/messages/Event.cpp')
-rw-r--r-- | src/uscxml/messages/Event.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/uscxml/messages/Event.cpp b/src/uscxml/messages/Event.cpp index f8a880f..43c6600 100644 --- a/src/uscxml/messages/Event.cpp +++ b/src/uscxml/messages/Event.cpp @@ -121,8 +121,8 @@ Event Event::fromXML(const std::string& xmlString) { Arabica::DOM::NodeList<std::string> properties = payloadElem.getElementsByTagName("scxml:property"); if (properties.getLength() > 0) { for (int i = 0; i < properties.getLength(); i++) { - if (HAS_ATTR(properties.item(i), "name")) { - std::string key = ATTR(properties.item(i), "name"); + if (HAS_ATTR_CAST(properties.item(i), "name")) { + std::string key = ATTR_CAST(properties.item(i), "name"); std::string value; Arabica::DOM::NodeList<std::string> childs = properties.item(i).getChildNodes(); for (int j = 0; j < childs.getLength(); j++) { |