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...@locus.apache.org on 2000/04/13 18:46:49 UTC

cvs commit: xml-xalan/c/src/XalanDOM XalanNode.cpp

dbertoni    00/04/13 09:46:49

  Modified:    c/src/XalanDOM XalanNode.cpp
  Log:
  Removed extraneous debug code.
  
  Revision  Changes    Path
  1.2       +4 -4      xml-xalan/c/src/XalanDOM/XalanNode.cpp
  
  Index: XalanNode.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XalanDOM/XalanNode.cpp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- XalanNode.cpp	2000/04/11 14:29:09	1.1
  +++ XalanNode.cpp	2000/04/13 16:46:47	1.2
  @@ -57,14 +57,12 @@
   #include "XalanNode.hpp"
   
   
  -#define XALAN_NODE_SPECIAL_DEBUG
   
   #if !defined(NDEBUG)
   unsigned long	XalanNode::s_instanceCount = 0;
   
   #if defined(XALAN_NODE_SPECIAL_DEBUG)
   
  -#include <iostream>
   #include <set>
   
   #if defined(XALAN_NO_NAMESPACES)
  @@ -74,8 +72,6 @@
   #else
   
   typedef std::set<XalanNode*>	InstanceSetType;
  -using std::cerr;
  -using std::endl;
   
   #endif
   
  @@ -156,7 +152,11 @@
   #if !defined(NDEBUG)
   
   void
  +#if defined(XALAN_NODE_SPECIAL_DEBUG)
   XalanNode::getLiveInstances(XalanNode*	theNodes[])
  +#else
  +XalanNode::getLiveInstances(XalanNode*	/* theNodes*/ [])
  +#endif
   {
   #if defined(XALAN_NODE_SPECIAL_DEBUG)