summaryrefslogtreecommitdiffstats
path: root/src/uscxml/util/DOM.h
diff options
context:
space:
mode:
authorStefan Radomski <github@mintwerk.de>2017-07-10 15:13:06 (GMT)
committerStefan Radomski <github@mintwerk.de>2017-07-10 15:13:06 (GMT)
commit286f8d747d198a66b81396ba8197b101ae2d59ed (patch)
tree2ad222fdbcb2ba6f7ead0ca41e5a6d98ae4c4287 /src/uscxml/util/DOM.h
parent799a95c560338643894ffd80510db8b48baa2f45 (diff)
downloaduscxml-286f8d747d198a66b81396ba8197b101ae2d59ed.zip
uscxml-286f8d747d198a66b81396ba8197b101ae2d59ed.tar.gz
uscxml-286f8d747d198a66b81396ba8197b101ae2d59ed.tar.bz2
More performance for microsteppers
Diffstat (limited to 'src/uscxml/util/DOM.h')
-rw-r--r--src/uscxml/util/DOM.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/uscxml/util/DOM.h b/src/uscxml/util/DOM.h
index 2adc675..1e0b8ce 100644
--- a/src/uscxml/util/DOM.h
+++ b/src/uscxml/util/DOM.h
@@ -201,6 +201,10 @@ public :
return _localForm;
}
+ int iequals(const XMLCh* const other) const {
+ return XERCESC_NS::XMLString::compareIString(_unicodeForm, other);
+ }
+
operator XMLCh* () const {
assert(_unicodeForm != NULL); // constructor with XMLCh
return _unicodeForm;
@@ -217,7 +221,7 @@ public :
}
bool operator==(const X& other) const {
- return (_unicodeForm == other._unicodeForm) != 0;
+ return (_localForm == other._localForm) != 0;
}
bool operator!=(const X& other) const {