Browse Source

Removed the limitation about class templates when checking v-table entries.

Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
pull/787/head
Dimitar Dobrev 9 years ago
parent
commit
bc078d8a15
  1. 4
      src/Generator/AST/VTables.cs

4
src/Generator/AST/VTables.cs

@ -75,9 +75,7 @@ namespace CppSharp.AST @@ -75,9 +75,7 @@ namespace CppSharp.AST
return entry.Method != null &&
(entry.Method.IsOperator ||
(!entry.Method.IsDeclared &&
((Class) entry.Method.Namespace).GetPropertyByConstituentMethod(entry.Method) == null) ||
// virtuals defined in templates are not yet supported
entry.Method.Namespace is ClassTemplateSpecialization);
((Class) entry.Method.Namespace).GetPropertyByConstituentMethod(entry.Method) == null));
}
}
}

Loading…
Cancel
Save