From 5d0bbb19cc133753cebda7099e46d4b2084336c6 Mon Sep 17 00:00:00 2001 From: Ash Wolf Date: Wed, 18 Jan 2023 17:19:20 +0000 Subject: rename TypeMethod and the struct type enums --- compiler_and_linker/unsorted/CTemplateTools.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler_and_linker/unsorted/CTemplateTools.c') diff --git a/compiler_and_linker/unsorted/CTemplateTools.c b/compiler_and_linker/unsorted/CTemplateTools.c index bc7f8be..03a51cb 100644 --- a/compiler_and_linker/unsorted/CTemplateTools.c +++ b/compiler_and_linker/unsorted/CTemplateTools.c @@ -1906,7 +1906,7 @@ Type *CTemplTool_DeduceTypeCopy(TypeDeduce *deduce, Type *type, UInt32 *resultQu case TYPEFUNC: if (TYPE_FUNC(type)->flags & FUNC_FLAGS_METHOD) { qual2 = 0; - deduced = galloc(sizeof(TypeMethod)); + deduced = galloc(sizeof(TypeMemberFunc)); *TYPE_METHOD(deduced) = *TYPE_METHOD(type); TYPE_METHOD(deduced)->x22 = 0; TYPE_METHOD(deduced)->theclass = TYPE_CLASS(CTemplTool_DeduceTypeQualCopy(deduce, TYPE(TYPE_METHOD(type)->theclass), &qual2)); -- cgit v1.2.3