mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
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:
committed by
Facebook Github Bot
parent
302e9cb815
commit
7ddc6f84c4
@ -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) {
|
||||
|
Reference in New Issue
Block a user