diff options
author | Stefan Radomski <github@mintwerk.de> | 2017-01-30 23:48:43 (GMT) |
---|---|---|
committer | Stefan Radomski <github@mintwerk.de> | 2017-01-30 23:48:43 (GMT) |
commit | 074e8a7db78bba7bdc184f6d18d16c2ab8045fed (patch) | |
tree | 1abf0a8aedc0cab8654a81f506a7d635dd49e270 /src | |
parent | f678b755216a7ea21acec0c8e51a6698719ef776 (diff) | |
download | uscxml-074e8a7db78bba7bdc184f6d18d16c2ab8045fed.zip uscxml-074e8a7db78bba7bdc184f6d18d16c2ab8045fed.tar.gz uscxml-074e8a7db78bba7bdc184f6d18d16c2ab8045fed.tar.bz2 |
Fixes builds on MSVC
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 () { |