diff options
author | Stefan Radomski <github@mintwerk.de> | 2017-07-10 15:13:06 (GMT) |
---|---|---|
committer | Stefan Radomski <github@mintwerk.de> | 2017-07-10 15:13:06 (GMT) |
commit | 286f8d747d198a66b81396ba8197b101ae2d59ed (patch) | |
tree | 2ad222fdbcb2ba6f7ead0ca41e5a6d98ae4c4287 /src/uscxml/util/DOM.h | |
parent | 799a95c560338643894ffd80510db8b48baa2f45 (diff) | |
download | uscxml-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.h | 6 |
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 { |