Browse Source

Ensure found type maps always contain the type sought after

Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
pull/1159/merge
Dimitar Dobrev 7 years ago
parent
commit
a991dbdd50
  1. 1
      src/Generator/Types/TypeMapDatabase.cs

1
src/Generator/Types/TypeMapDatabase.cs

@ -56,6 +56,7 @@ namespace CppSharp.Types @@ -56,6 +56,7 @@ namespace CppSharp.Types
if (typeMaps.ContainsKey(type))
{
typeMap = typeMaps[type];
typeMap.Type = type;
return typeMap.IsEnabled;
}

Loading…
Cancel
Save