mirror of
https://github.com/apple/foundationdb.git
synced 2025-05-14 01:42:37 +08:00
fixup! Remove C++20 attribute
This commit is contained in:
parent
90b887f394
commit
ead1aa5bc1
@ -143,7 +143,7 @@ public:
|
||||
|
||||
// Retrieves the resource as a pointer, throws operation_cancelled if the resource is not available
|
||||
T* operator->() const {
|
||||
if (!ResourceOwningRef<T>::available()) [[unlikely]]
|
||||
if (!ResourceOwningRef<T>::available())
|
||||
throw operation_cancelled();
|
||||
return ResourceOwningRef<T>::resourceRef->resource;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user