Get rid of two distinct enum items with same same
diff --git a/tinyxml2.cpp b/tinyxml2.cpp
index 3c0eef3..a93523b 100755
--- a/tinyxml2.cpp
+++ b/tinyxml2.cpp
@@ -272,7 +272,7 @@
}
// The loop below has plenty going on, and this
// is a less useful mode. Break it out.
- if ( _flags & COLLAPSE_WHITESPACE ) {
+ if ( _flags & NEEDS_WHITESPACE_COLLAPSING ) {
CollapseWhitespace();
}
_flags = (_flags & NEEDS_DELETE);
@@ -961,7 +961,7 @@
else {
int flags = _document->ProcessEntities() ? StrPair::TEXT_ELEMENT : StrPair::TEXT_ELEMENT_LEAVE_ENTITIES;
if ( _document->WhitespaceMode() == COLLAPSE_WHITESPACE ) {
- flags |= StrPair::COLLAPSE_WHITESPACE;
+ flags |= StrPair::NEEDS_WHITESPACE_COLLAPSING;
}
p = _value.ParseText( p, "<", flags );