summaryrefslogtreecommitdiffstats
path: root/libutils/RefBase.cpp
diff options
context:
space:
mode:
authorYi Kong <yikong@google.com>2018-07-17 10:06:10 -0700
committerandroid-build-merger <android-build-merger@google.com>2018-07-17 10:06:10 -0700
commit2a6a58a818d5cc38cb624a6a4154a93166d01f18 (patch)
treea7a612b80717c9ed88e880fc9f160fa9b1b3ae25 /libutils/RefBase.cpp
parent6286088afee20c7c4cfe125cbddd3a13adc5fd15 (diff)
parentab3203f38363e7b5fadfe281ed8870be6044b674 (diff)
downloadsystem_core-2a6a58a818d5cc38cb624a6a4154a93166d01f18.tar.gz
system_core-2a6a58a818d5cc38cb624a6a4154a93166d01f18.tar.bz2
system_core-2a6a58a818d5cc38cb624a6a4154a93166d01f18.zip
Merge "[libutils] Modernize codebase by replacing NULL with nullptr"
am: ab3203f383 Change-Id: I5c2aaaea705a3ab82a5ad999f813e4cc22e63401
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)