From 586b14ab62ad36efc016485eafb3106257afe656 Mon Sep 17 00:00:00 2001 From: Joao Matos Date: Tue, 7 Mar 2017 15:36:47 +0000 Subject: [PATCH] Fixed previously missing rename target checking for classes. --- src/Generator/Passes/RenamePass.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Generator/Passes/RenamePass.cs b/src/Generator/Passes/RenamePass.cs index 4870bd5d..b88b9ef0 100644 --- a/src/Generator/Passes/RenamePass.cs +++ b/src/Generator/Passes/RenamePass.cs @@ -75,7 +75,7 @@ namespace CppSharp.Passes public bool IsRenameableDecl(Declaration decl) { if (decl is Class) - return true; + return Targets.HasFlag(RenameTargets.Class); var method = decl as Method; if (method != null)