Hi,

On Fri, 2009-03-20 at 11:47 -0500, Allen Bierbaum wrote:
> Looks like the code I added for MTWeakPtr is not working correctly.  I
> have looked through the code and I can't see the issue.  

you only do the validation for the MT part but not the validation for
the Weak part so that is why you still get a 'seemingly' valid pointer.

You should do something like

T *retVal = convertToCurrentAspect(pObject);

return Inherited::validate(retVal);

kind regards,
  gerrit



------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Opensg-core mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-core

Reply via email to