summaryrefslogtreecommitdiff
path: root/libs/binder/Value.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libs/binder/Value.cpp')
-rw-r--r--libs/binder/Value.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/binder/Value.cpp b/libs/binder/Value.cpp
index 2b263ed2ee..a28a618939 100644
--- a/libs/binder/Value.cpp
+++ b/libs/binder/Value.cpp
@@ -229,7 +229,7 @@ int32_t Value::parcelType() const
#ifdef LIBBINDER_VALUE_SUPPORTS_TYPE_INFO
const std::type_info& Value::type() const
{
- return mContent != NULL
+ return mContent != nullptr
? mContent->type()
: typeid(void);
}
@@ -306,7 +306,7 @@ status_t Value::writeToParcel(Parcel* parcel) const
#define BEGIN_HANDLE_WRITE() \
do { \
- const void* t_info(mContent?mContent->type_ptr():NULL); \
+ const void* t_info(mContent?mContent->type_ptr():nullptr); \
if (false) { }
#define HANDLE_WRITE_TYPE(T, TYPEVAL, TYPEMETHOD) \
else if (t_info == internal_type_ptr<T>()) { \