fix compilation error

This commit is contained in:
itn3000
2022-12-21 14:10:52 +09:00
parent a7a5c41370
commit 61bfbdb26e

View File

@@ -21,15 +21,15 @@ public abstract class BlockFilter : ReadOnlyStream
private static readonly Dictionary<FilterTypes, Func<BlockFilter>> FilterMap = new Dictionary<
FilterTypes,
Type
Func<BlockFilter>
>
{
{ FilterTypes.ARCH_x86_FILTER, () => new X86Filter() },
{ FilterTypes.ARCH_PowerPC_FILTER, () => new PowerPCFilter() },
{ FilterTypes.ARCH_IA64_FILTER, () => new IA64Filter() },
{ FilterTypes.ARCH_ARM_FILTER, () => new ArmFilter() },
{ FilterTypes.ARCH_ARMTHUMB_FILTER, () => new ArmThumbFilter() },
{ FilterTypes.ARCH_SPARC_FILTER, () => new SparcFilter() },
{ FilterTypes.ARCH_x86_FILTER, (Func<BlockFilter>)(() => new X86Filter()) },
{ FilterTypes.ARCH_PowerPC_FILTER, (Func<BlockFilter>)(() => new PowerPCFilter()) },
{ FilterTypes.ARCH_IA64_FILTER, (Func<BlockFilter>)(() => new IA64Filter()) },
{ FilterTypes.ARCH_ARM_FILTER, (Func<BlockFilter>)(() => new ArmFilter()) },
{ FilterTypes.ARCH_ARMTHUMB_FILTER, (Func<BlockFilter>)(() => new ArmThumbFilter()) },
{ FilterTypes.ARCH_SPARC_FILTER, (Func<BlockFilter>)(() => new SparcFilter()) },
{ FilterTypes.LZMA2, () => new Lzma2Filter() }
};