Browse Source

Removed a redundant statement which also caused a crash in Qt#.

Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
pull/696/head
Dimitar Dobrev 9 years ago
parent
commit
9611e718a8
  1. 2
      src/Parser/ASTConverter.cs

2
src/Parser/ASTConverter.cs

@ -1678,7 +1678,7 @@ namespace CppSharp @@ -1678,7 +1678,7 @@ namespace CppSharp
public override AST.Declaration VisitFunctionTemplate(FunctionTemplate decl)
{
var _decl = new AST.FunctionTemplate(Visit(decl.TemplatedDecl));
var _decl = new AST.FunctionTemplate();
VisitTemplate(decl, _decl);
for (uint i = 0; i < decl.SpecializationsCount; ++i)
{

Loading…
Cancel
Save