Replacing NULL with nullptr in a few CDM files.

[ Merge of http://go/wvgerrit/85408 ]

Replacing a few instances of C's NULL with C++'s nullptr in some of the
smaller sub-directories in the CDM.

Bug: 120602075
Test: Linux and Android unittests
Change-Id: I62bb548051434b4b974d89a6d57a9a17a0d66bd2
This commit is contained in:
Alex Dale
2019-08-29 12:03:11 -07:00
parent ee56d93454
commit 6793f74aa2
2 changed files with 2 additions and 2 deletions

View File

@@ -100,7 +100,7 @@ class ValueMetric {
return value_proto; return value_proto;
} }
return NULL; return nullptr;
} }
private: private:

View File

@@ -29,7 +29,7 @@ static const char kBase64Codes[] =
int DecodeBase64Char(char c) { int DecodeBase64Char(char c) {
const char* it = strchr(kBase64Codes, c); const char* it = strchr(kBase64Codes, c);
if (it == NULL) return -1; if (it == nullptr) return -1;
return it - kBase64Codes; return it - kBase64Codes;
} }