summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Radomski <github@mintwerk.de>2016-12-16 16:37:11 (GMT)
committerGitHub <noreply@github.com>2016-12-16 16:37:11 (GMT)
commit6c4bc708593d5532b0fbf970646edf9b5bca849a (patch)
treef3ef1a6a6ed44ed4ddf73cb3c05ad9c356c9bb73
parent75fc3b465fb3d61d36874cf7a29ddbb8256e3817 (diff)
parentef0bc44e3c598cd1cd463c3971428b89e6f951d1 (diff)
downloaduscxml-6c4bc708593d5532b0fbf970646edf9b5bca849a.zip
uscxml-6c4bc708593d5532b0fbf970646edf9b5bca849a.tar.gz
uscxml-6c4bc708593d5532b0fbf970646edf9b5bca849a.tar.bz2
Merge pull request #102 from gabm/FixDataWithNode
Problem: <content> nodes or their children are not properly transmitted to the Event
-rw-r--r--src/uscxml/messages/Data.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/uscxml/messages/Data.h b/src/uscxml/messages/Data.h
index cee5afd..2cf1945 100644
--- a/src/uscxml/messages/Data.h
+++ b/src/uscxml/messages/Data.h
@@ -60,6 +60,7 @@ public:
}
}
+ explicit Data(XERCESC_NS::DOMNode* node_) : node(node_) {}
// template <typename T> Data(T value, Type type = INTERPRETED) : atom(toStr(value)), type(type) {}
// we will have to drop this constructor as it interferes with operator Data() and requires C++11