mirror of
https://github.com/beefytech/Beef.git
synced 2025-07-04 15:26:00 +02:00
Improvements to auto-impl properties
This commit is contained in:
parent
36e0a3a375
commit
06f4eb9576
8 changed files with 113 additions and 61 deletions
|
@ -569,6 +569,7 @@ enum BfTypedValueKind
|
|||
{
|
||||
BfTypedValueKind_Addr,
|
||||
BfTypedValueKind_CopyOnMutateAddr,
|
||||
BfTypedValueKind_CopyOnMutateAddr_Derived,
|
||||
BfTypedValueKind_ReadOnlyAddr,
|
||||
BfTypedValueKind_TempAddr,
|
||||
BfTypedValueKind_RestrictedTempAddr,
|
||||
|
@ -688,7 +689,7 @@ public:
|
|||
|
||||
bool IsCopyOnMutate() const
|
||||
{
|
||||
return (mKind == BfTypedValueKind_CopyOnMutateAddr);
|
||||
return (mKind == BfTypedValueKind_CopyOnMutateAddr) || (mKind == BfTypedValueKind_CopyOnMutateAddr_Derived);
|
||||
}
|
||||
|
||||
bool IsReadOnly() const
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue