diff options
author | 2018-06-08 12:44:44 -0700 | |
---|---|---|
committer | 2018-06-08 12:44:44 -0700 | |
commit | aabd6b7fa343654cd85b3b2da392e424d037d15a (patch) | |
tree | cbc9fea00e9b67d631bde2bbb70de5b151dfcadc /libs/binder/IInterface.cpp | |
parent | 83af600986a41b38213e798bba8ea89ad0523096 (diff) | |
parent | a800be8391e6c91501f6bedd48af1abdc63ede0d (diff) |
Merge "[binder] Replace NULL/0 with nullptr"
am: a800be8391
Change-Id: I7e118d3def0f9643a79fa9003a89234340d941ea
Diffstat (limited to 'libs/binder/IInterface.cpp')
-rw-r--r-- | libs/binder/IInterface.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/binder/IInterface.cpp b/libs/binder/IInterface.cpp index 2fcd3d92fb..6b7729186e 100644 --- a/libs/binder/IInterface.cpp +++ b/libs/binder/IInterface.cpp @@ -32,14 +32,14 @@ IInterface::~IInterface() { // static sp<IBinder> IInterface::asBinder(const IInterface* iface) { - if (iface == NULL) return NULL; + if (iface == nullptr) return nullptr; return const_cast<IInterface*>(iface)->onAsBinder(); } // static sp<IBinder> IInterface::asBinder(const sp<IInterface>& iface) { - if (iface == NULL) return NULL; + if (iface == nullptr) return nullptr; return iface->onAsBinder(); } |