From 074e8a7db78bba7bdc184f6d18d16c2ab8045fed Mon Sep 17 00:00:00 2001 From: Stefan Radomski Date: Tue, 31 Jan 2017 00:48:43 +0100 Subject: Fixes builds on MSVC --- src/uscxml/util/DOM.h | 4 ++-- 1 file 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 () { -- cgit v0.12