You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by db...@apache.org on 2001/08/06 03:38:53 UTC
cvs commit: xml-xalan/c/src/XPath NodeRefListBase.cpp NodeRefListBase.hpp
dbertoni 01/08/05 18:38:53
Modified: c/src/XPath NodeRefListBase.cpp NodeRefListBase.hpp
Log:
Don't use climits any more.
Revision Changes Path
1.3 +1 -7 xml-xalan/c/src/XPath/NodeRefListBase.cpp
Index: NodeRefListBase.cpp
===================================================================
RCS file: /home/cvs/xml-xalan/c/src/XPath/NodeRefListBase.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- NodeRefListBase.cpp 2000/04/11 14:46:10 1.2
+++ NodeRefListBase.cpp 2001/08/06 01:38:53 1.3
@@ -60,13 +60,7 @@
#if !defined(XALAN_INLINE_INITIALIZATION)
-#include <climits>
-#endif
-
-
-
-#if !defined(XALAN_INLINE_INITIALIZATION)
-const unsigned int NodeRefListBase::npos = UINT_MAX;
+const unsigned int NodeRefListBase::npos = ~0u;
#endif
1.10 +1 -7 xml-xalan/c/src/XPath/NodeRefListBase.hpp
Index: NodeRefListBase.hpp
===================================================================
RCS file: /home/cvs/xml-xalan/c/src/XPath/NodeRefListBase.hpp,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- NodeRefListBase.hpp 2001/01/08 18:28:22 1.9
+++ NodeRefListBase.hpp 2001/08/06 01:38:53 1.10
@@ -64,12 +64,6 @@
-#if defined(XALAN_INLINE_INITIALIZATION)
-#include <climits>
-#endif
-
-
-
class XalanNode;
@@ -119,7 +113,7 @@
indexOf(const XalanNode* theNode) const = 0;
#if defined(XALAN_INLINE_INITIALIZATION)
- static const unsigned int npos = UINT_MAX;
+ static const unsigned int npos = ~0u;
#else
static const unsigned int npos;
#endif
---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org