commit | 5bed83befcbc7f1a86015254a624c948d5a819b8 | [log] [tgz] |
---|---|---|
author | Yi Kong <yikong@google.com> | Tue Jul 17 12:53:47 2018 -0700 |
committer | Yi Kong <yikong@google.com> | Tue Jul 17 12:53:47 2018 -0700 |
tree | a612741df3edbf626c01cb381c342a6864244457 | |
parent | 836800931c463cfa105b0e454028dc884b899309 [diff] [blame] |
[input] Modernize codebase by replacing NULL with nullptr Fixes -Wzero-as-null-pointer-constant warning. Test: m Bug: 68236239 Change-Id: I8882234efd2a0b3ef27472d3f5d4e9c69c6e7b37
diff --git a/libs/input/InputDevice.cpp b/libs/input/InputDevice.cpp index 4287abe..5d27bf6 100644 --- a/libs/input/InputDevice.cpp +++ b/libs/input/InputDevice.cpp
@@ -175,7 +175,7 @@ return ⦥ } } - return NULL; + return nullptr; } void InputDeviceInfo::addSource(uint32_t source) {