amassari 2005/01/12 05:29:06
Modified: c/src/xercesc/util CountedPointer.c
Log:
Macro having 3 arguments was invoked with only 2
Revision Changes Path
1.5 +5 -2 xml-xerces/c/src/xercesc/util/CountedPointer.c
Index: CountedPointer.c
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/util/CountedPointer.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- CountedPointer.c 8 Sep 2004 13:56:21 -0000 1.4
+++ CountedPointer.c 12 Jan 2005 13:29:06 -0000 1.5
@@ -16,6 +16,9 @@
/**
* $Log$
+ * Revision 1.5 2005/01/12 13:29:06 amassari
+ * Macro having 3 arguments was invoked with only 2
+ *
* Revision 1.4 2004/09/08 13:56:21 peiyongz
* Apache License Version 2.0
*
@@ -118,14 +121,14 @@
template <class T> const T& CountedPointerTo<T>::operator*() const
{
if (!fPtr)
- ThrowXMLwithMemMgr(NullPointerException,
XMLExcepts::CPtr_PointerIsZero);
+ ThrowXMLwithMemMgr(NullPointerException,
XMLExcepts::CPtr_PointerIsZero, 0);
return *fPtr;
}
template <class T> T& CountedPointerTo<T>::operator*()
{
if (!fPtr)
- ThrowXMLwithMemMgr(NullPointerException,
XMLExcepts::CPtr_PointerIsZero);
+ ThrowXMLwithMemMgr(NullPointerException,
XMLExcepts::CPtr_PointerIsZero, 0);
return *fPtr;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]