NULL -> nullptr (#11047)

Summary:
How did we get so many uses of `NULL` again?

ezyang
Pull Request resolved: https://github.com/pytorch/pytorch/pull/11047

Differential Revision: D9566799

Pulled By: goldsborough

fbshipit-source-id: 83469f352ac69aa65bdaf1a1a21f922d892e0db3
This commit is contained in:
Peter Goldsborough
2018-08-30 16:22:24 -07:00
committed by Facebook Github Bot
parent 302e9cb815
commit 7ddc6f84c4
33 changed files with 332 additions and 332 deletions

View File

@ -137,7 +137,7 @@ void THPUtils_setError(const char *format, ...)
void THPUtils_addPyMethodDefs(std::vector<PyMethodDef>& vector, PyMethodDef* methods)
{
if (!vector.empty()) {
// remove NULL terminator
// remove nullptr terminator
vector.pop_back();
}
while (1) {