mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 03:52:19 +02:00
Properly throw error on capture specifier in non-lambda allocation
This commit is contained in:
parent
c23d44502b
commit
8cccec20fa
4 changed files with 25 additions and 20 deletions
|
@ -600,7 +600,7 @@ public:
|
|||
BfTypedValue mCustomAllocator;
|
||||
BfScopedInvocationTarget* mScopedInvocationTarget;
|
||||
int mAlignOverride;
|
||||
BfCaptureInfo mCaptureInfo;
|
||||
BfCaptureInfo* mCaptureInfo;
|
||||
bool mIsFriend;
|
||||
|
||||
public:
|
||||
|
@ -612,6 +612,7 @@ public:
|
|||
mScopedInvocationTarget = NULL;
|
||||
mAlignOverride = -1;
|
||||
mIsFriend = false;
|
||||
mCaptureInfo = NULL;
|
||||
}
|
||||
|
||||
BfAllocTarget(BfScopeData* scopeData)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue