commit | fd9ecee04372ce0d47d4df7a05a56e13d9c0e1b4 | [log] [tgz] |
---|---|---|
author | Stephen Hines <srhines@google.com> | Wed Sep 27 18:52:52 2017 -0700 |
committer | Stephen Hines <srhines@google.com> | Wed Sep 27 19:39:15 2017 -0700 |
tree | ffb4e085061a3a49b3a50c698f15d09f956b9f99 | |
parent | b9d434fb14b835fbde963250d44a2e5fec81bf2f [diff] [blame] |
Switch from NULL -> nullptr. Test: Builds. Change-Id: Idcdd337e6576d612aa6c18a431b3dfe0215efde0
diff --git a/base/Status.cpp b/base/Status.cpp index 3b31ee6..1ba91c3 100644 --- a/base/Status.cpp +++ b/base/Status.cpp
@@ -53,7 +53,7 @@ } std::string str = std::to_string(s); char *err = strerror(-s); - if (err != NULL) { + if (err != nullptr) { str.append(1, ' ').append(err); } return str;