[vtk-developers] New WRAP_EXCLUDE_PYTHON
David Gobbi
david.gobbi at gmail.com
Wed Sep 23 12:28:42 EDT 2015
On Wed, Sep 23, 2015 at 8:00 AM, David Lonie <david.lonie at kitware.com>
wrote:
> On Wed, Sep 23, 2015 at 8:41 AM, David Gobbi <david.gobbi at gmail.com>
> wrote:
>
>> The wrapping has identified a few classes that break the "rule of three":
>> https://open.cdash.org/viewBuildError.php?type=1&buildid=4025415
>>
>> I'll see if I can fix these, but I might need to seek advice on some of
>> them.
>>
>
> vtkFreeTypeToolsCleanup is the one I'm familiar with, and it can just have
> an empty copy constructor as it's stateless.
>
It has a public constructor, so it can potentially have multiple
instances. I added a counter to make sure it doesn't
call SetInstance(NULL) until all instances have destructed.
https://gitlab.kitware.com/vtk/vtk/merge_requests/686
- David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20150923/88ed7876/attachment.html>
More information about the vtk-developers
mailing list