dbertoni 01/06/06 14:50:19
Modified: c/src/XPath XPathFactoryDefault.cpp XPathFactoryDefault.hpp
Log:
Removed instance count stuff.
Revision Changes Path
1.10 +0 -7 xml-xalan/c/src/XPath/XPathFactoryDefault.cpp
Index: XPathFactoryDefault.cpp
===================================================================
RCS file: /home/cvs/xml-xalan/c/src/XPath/XPathFactoryDefault.cpp,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- XPathFactoryDefault.cpp 2000/10/13 21:20:53 1.9
+++ XPathFactoryDefault.cpp 2001/06/06 21:50:16 1.10
@@ -70,9 +70,6 @@
XPathFactoryDefault::XPathFactoryDefault() :
XPathFactory(),
m_xpaths()
-#if !defined(NDEBUG)
- , m_totalInstanceCount(0)
-#endif
{
}
@@ -138,10 +135,6 @@
XPath* const theXPath = new XPath;
m_xpaths.insert(theXPath);
-
-#if !defined(NDEBUG)
- ++m_totalInstanceCount;
-#endif
return theXPath;
}
1.10 +1 -13 xml-xalan/c/src/XPath/XPathFactoryDefault.hpp
Index: XPathFactoryDefault.hpp
===================================================================
RCS file: /home/cvs/xml-xalan/c/src/XPath/XPathFactoryDefault.hpp,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- XPathFactoryDefault.hpp 2000/10/13 21:20:53 1.9
+++ XPathFactoryDefault.hpp 2001/06/06 21:50:17 1.10
@@ -107,14 +107,6 @@
return m_xpaths.size();
}
-#if !defined(NDEBUG)
- unsigned long
- getTotalInstanceCount() const
- {
- return m_totalInstanceCount;
- }
-#endif
-
protected:
// Inherited from XPathFactory...
@@ -125,12 +117,8 @@
bool fInReset = false);
private:
-
- CollectionType m_xpaths;
-#if !defined(NDEBUG)
- unsigned long m_totalInstanceCount;
-#endif
+ CollectionType m_xpaths;
};
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]