Commit d87c3486 authored by David Gobbi's avatar David Gobbi Committed by Marcus D. Hanwell
Browse files

BUG: Destructor tilde only shows up in the signature.

parent f70a9342
...@@ -2024,7 +2024,7 @@ static int vtkWrapPython_MethodCheck( ...@@ -2024,7 +2024,7 @@ static int vtkWrapPython_MethodCheck(
else else
{ {
/* check for destructor */ /* check for destructor */
if (strcmp(data->ClassName, &currentFunction->Name[1]) == 0) if (currentFunction->Signature[0] == '~')
{ {
args_ok = 0; args_ok = 0;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment