Browse Source

AST: Fix compilation warning

Fix the following warning by removing the new keyword:

src/AST/Type.cs(230,25): warning CS0109: The member `CppSharp.AST.PointerType.IsReference' does not hide an inherited member. The new keyword is not required

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@iki.fi>
pull/251/head
Tomi Valkeinen 11 years ago
parent
commit
5b474483fe
  1. 4
      src/AST/Type.cs

4
src/AST/Type.cs

@ -232,7 +232,7 @@ namespace CppSharp.AST
RVReference RVReference
} }
public new bool IsReference public bool IsReference
{ {
get get
{ {
@ -756,4 +756,4 @@ namespace CppSharp.AST
T VisitPackExpansionType(PackExpansionType packExpansionType, TypeQualifiers quals); T VisitPackExpansionType(PackExpansionType packExpansionType, TypeQualifiers quals);
T VisitCILType(CILType type, TypeQualifiers quals); T VisitCILType(CILType type, TypeQualifiers quals);
} }
} }

Loading…
Cancel
Save