[vtkusers] Leak in derived rubberband style class
David Doria
daviddoria+vtk at gmail.com
Tue Feb 2 20:11:59 EST 2010
On Tue, Feb 2, 2010 at 8:00 PM, Bill Lorensen <bill.lorensen at gmail.com> wrote:
>
> You left out the vtkTypeRevisionMacro. I( think DebugLeaks was
> confused. Didn't this happen to you before?
I guess I didn't remember because I never understood the point. I
looked at vtkSetGet this time and I see that vtkTypeRevisionMacro
calls vtkTypeMacro.
vtkTypeMacro does this:
// Macro used to determine whether a class is the same class or
// a subclass of the named class.
which makes sense why DebugLeaks would get confused.
I thought the RevisionMacro only had something to do with keeping
track of the revisions (this type of string ""$Revision: 1.1 $")
I tried just using vtkTypeMacro, but vtkTypeRevisionMacro declares
CollectRevisions, so that didn't work.
I guess I am confused why the revision tracking is so intertwined with
the object typing tracking?
David
More information about the vtkusers
mailing list