dbertoni 2002/11/20 17:35:03
Modified: c/src/XPath MutableNodeRefList.cpp
Log:
Fixed ifdefs.
Revision Changes Path
1.27 +6 -6 xml-xalan/c/src/XPath/MutableNodeRefList.cpp
Index: MutableNodeRefList.cpp
===================================================================
RCS file: /home/cvs/xml-xalan/c/src/XPath/MutableNodeRefList.cpp,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- MutableNodeRefList.cpp 21 Nov 2002 01:30:09 -0000 1.26
+++ MutableNodeRefList.cpp 21 Nov 2002 01:35:03 -0000 1.27
@@ -684,9 +684,7 @@
void
MutableNodeRefList::clearNulls()
{
-#if !defined(XALAN_NO_STD_NAMESPACE)
- using std::remove;
-#endif
+ XALAN_USING_STD(remove);
m_nodeList.erase(
remove(
@@ -708,9 +706,11 @@
void
MutableNodeRefList::reverse()
{
- XALAN_USING_STD(reverse)
-
- reverse(
+#if defined(XALAN_NO_STD_NAMESPACE)
+ ::reverse(
+#else
+ std::reverse(
+#endif
m_nodeList.begin(),
m_nodeList.end());
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]