Skip to content
Snippets Groups Projects
Commit da03e473 authored by Alberto Massari's avatar Alberto Massari
Browse files

Macro having 3 arguments was invoked with only 2

git-svn-id: https://svn.apache.org/repos/asf/xerces/c/trunk@176286 13f79535-47bb-0310-9956-ffa450edef68
parent 9452d7d4
No related branches found
No related tags found
No related merge requests found
......@@ -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> T* CountedPointerTo<T>::operator->()
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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment