dbertoni 2004/10/12 11:29:06
Modified: c/src/xalanc/Include XalanList.hpp
Log:
Added ifdef block to suppress unused parameter warnings.
Revision Changes Path
1.6 +17 -2 xml-xalan/c/src/xalanc/Include/XalanList.hpp
Index: XalanList.hpp
===================================================================
RCS file: /home/cvs/xml-xalan/c/src/xalanc/Include/XalanList.hpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- XalanList.hpp 29 Sep 2004 15:29:00 -0000 1.5
+++ XalanList.hpp 12 Oct 2004 18:29:06 -0000 1.6
@@ -351,7 +351,14 @@
}
void
- splice(iterator pos, ThisType& list, iterator toInsert)
+ splice(
+ iterator pos,
+#if defined(NDEBUG)
+ ThisType& /* list */,
+#else
+ ThisType& list,
+#endif
+ iterator toInsert)
{
assert(m_memoryManager == list.m_memoryManager);
@@ -372,7 +379,15 @@
}
void
- splice(iterator pos, ThisType& list, iterator toInsertFirst, iterator
toInsertLast)
+ splice(
+ iterator pos,
+#if defined(NDEBUG)
+ ThisType& /* list */,
+#else
+ ThisType& list,
+#endif
+ iterator toInsertFirst,
+ iterator toInsertLast)
{
assert(m_memoryManager == list.m_memoryManager);
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]