Use common pattern for function-like macro (#4625)
This commit is contained in:
committed by
Nikolay Krasko
parent
32e3deace1
commit
adf80418af
@@ -177,7 +177,7 @@ void BackRefFromAssociatedObject::releaseRef() {
|
||||
}
|
||||
|
||||
void BackRefFromAssociatedObject::detach() {
|
||||
RuntimeAssert(atomicGet(&refCount) == 0, "unexpected refCount")
|
||||
RuntimeAssert(atomicGet(&refCount) == 0, "unexpected refCount");
|
||||
obj_ = nullptr; // Handled in addRef/tryAddRef/releaseRef/ref.
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user