From b1c8f187b82b57dc4a03d1de646a513c07539e1a Mon Sep 17 00:00:00 2001 From: triton Date: Thu, 7 Mar 2013 19:47:46 +0000 Subject: [PATCH] Remove this hack now that we have proper type qualifiers support. --- src/Generator/Generators/CLI/CLITypePrinter.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Generator/Generators/CLI/CLITypePrinter.cs b/src/Generator/Generators/CLI/CLITypePrinter.cs index ea1f79c4..865ebbdd 100644 --- a/src/Generator/Generators/CLI/CLITypePrinter.cs +++ b/src/Generator/Generators/CLI/CLITypePrinter.cs @@ -97,7 +97,7 @@ namespace Cxxi.Generators.CLI return "System::IntPtr"; } - if (pointee.IsPrimitiveType(PrimitiveType.Char)/* && quals.IsConst*/) + if (pointee.IsPrimitiveType(PrimitiveType.Char) && quals.IsConst) { return "System::String^"; }