Remove nullability compatible tag in scoped_refptr as obsolete
As of 485f2be7c1, this no longer has any effect; instead, the ABSL_NULLABILITY_COMPATIBLE attribute which is already present on the class determines whether a class is compatible with nullability annotations.
Bug: None
Change-Id: I5aeca86c86c2b6eadb2644695ee3621e92f1f568
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/366601
Reviewed-by: Harald Alvestrand <hta@webrtc.org>
Commit-Queue: Danil Chapovalov <danilchap@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#43532}
This commit is contained in:
parent
e528a2c5f2
commit
36a764f13d
@ -73,7 +73,6 @@ namespace webrtc {
|
|||||||
template <class T>
|
template <class T>
|
||||||
class ABSL_NULLABILITY_COMPATIBLE scoped_refptr {
|
class ABSL_NULLABILITY_COMPATIBLE scoped_refptr {
|
||||||
public:
|
public:
|
||||||
using absl_nullability_compatible = void;
|
|
||||||
using element_type = T;
|
using element_type = T;
|
||||||
|
|
||||||
scoped_refptr() : ptr_(nullptr) {}
|
scoped_refptr() : ptr_(nullptr) {}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user