faiss
faiss copied to clipboard
Fix deprecated use of 0/NULL in faiss/python/python_callbacks.cpp + 1
Summary:
nullptr
is typesafe. 0
and NULL
are not. In the future, only nullptr
will be allowed.
This diff helps us embrace the future now in service of enabling -Wzero-as-null-pointer-constant
.
Differential Revision: D55755261
This pull request was exported from Phabricator. Differential Revision: D55755261