mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 03:52:19 +02:00
Ctor hiding fix
This commit is contained in:
parent
82c1125a68
commit
289d5026c2
1 changed files with 1 additions and 1 deletions
|
@ -6244,7 +6244,7 @@ void BfModule::DoTypeInstanceMethodProcessing(BfTypeInstance* typeInstance)
|
|||
// Generate all methods. Pass 0
|
||||
for (auto methodDef : typeDef->mMethods)
|
||||
{
|
||||
if (methodDef->mMethodType == BfMethodType_Ctor)
|
||||
if ((methodDef->mMethodType == BfMethodType_Ctor) && (!methodDef->mIsStatic))
|
||||
{
|
||||
if (methodDef->mMethodDeclaration == NULL)
|
||||
defaultCtor = methodDef;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue