diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/uscxml/util/DOM.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/uscxml/util/DOM.h b/src/uscxml/util/DOM.h index 9697eb8..b26abc3 100644 --- a/src/uscxml/util/DOM.h +++ b/src/uscxml/util/DOM.h @@ -201,7 +201,7 @@ public : return _localForm; } - const operator const XMLCh* () const { + operator XMLCh* () const { assert(_unicodeForm != NULL); // constructor with XMLCh return _unicodeForm; } @@ -221,7 +221,7 @@ public : } bool operator<(const X& other) const { - return XERCESC_NS::XMLString::compareString(_unicodeForm, other._unicodeForm); + return XERCESC_NS::XMLString::compareString(_unicodeForm, other._unicodeForm) < 0; } operator bool () { |