fix wrong RejectNull implementation, thanks to Sam Miller

git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@573 7ec92016-0320-0410-acc4-a06ded1c099a
This commit is contained in:
syntheticpp 2006-02-28 12:59:59 +00:00
parent 5c225a1935
commit 9eb276e401

View file

@ -713,10 +713,10 @@ namespace Loki
{}
static void OnInit(P val)
{ if (!val) throw NullPointerException(); }
{}
static void OnDefault(P val)
{ OnInit(val); }
{}
void OnDereference(P val)
{ OnInit(val); }
@ -1362,6 +1362,9 @@ namespace std
#endif // SMARTPTR_INC_
// $Log$
// Revision 1.22 2006/02/28 12:59:59 syntheticpp
// fix wrong RejectNull implementation, thanks to Sam Miller
//
// Revision 1.21 2006/02/27 19:59:20 syntheticpp
// add support of loki.dll
//