summaryrefslogtreecommitdiff
path: root/libutils/RefBase.cpp
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2018-07-18 03:10:43 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2018-07-18 03:10:43 +0000
commitf93e1931b360da17cae8a9fa86a2b287b12df1d8 (patch)
tree65f43218eebbc4a2cb27aef5907377c14bfdd228 /libutils/RefBase.cpp
parentc55a71de9829a630fd428f3ec2d353733141bc63 (diff)
parent09e9a233323b57b74f4f4a16b87110d2bdbbe31a (diff)
Snap for 4899223 from 09e9a233323b57b74f4f4a16b87110d2bdbbe31a to qt-release
Change-Id: Ida63030262c51eca532100a8d69a7e1e79b173dc
Diffstat (limited to 'libutils/RefBase.cpp')
-rw-r--r--libutils/RefBase.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libutils/RefBase.cpp b/libutils/RefBase.cpp
index 8bccb0f5c..90748501d 100644
--- a/libutils/RefBase.cpp
+++ b/libutils/RefBase.cpp
@@ -712,7 +712,7 @@ RefBase::~RefBase()
delete mRefs;
}
// For debugging purposes, clear mRefs. Ineffective against outstanding wp's.
- const_cast<weakref_impl*&>(mRefs) = NULL;
+ const_cast<weakref_impl*&>(mRefs) = nullptr;
}
void RefBase::extendObjectLifetime(int32_t mode)