mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 03:52:19 +02:00
Reworked binary operators and transformability
This commit is contained in:
parent
230b71cecb
commit
b49e513494
5 changed files with 45 additions and 64 deletions
|
@ -831,7 +831,10 @@ void BfDefBuilder::ParseAttributes(BfAttributeDirective* attributes, BfMethodDef
|
|||
}
|
||||
else
|
||||
{
|
||||
methodDef->mCommutableKind = BfCommutableKind_Forward;
|
||||
if (methodDef->mIsOperator)
|
||||
methodDef->mCommutableKind = BfCommutableKind_Operator;
|
||||
else
|
||||
methodDef->mCommutableKind = BfCommutableKind_Forward;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue