faiss icon indicating copy to clipboard operation
faiss copied to clipboard

Fix deprecated use of 0/NULL in faiss/gpu/test/demo_ivfpq_indexing_gpu.cpp + 1

Open algoriddle opened this issue 10 months ago • 1 comments

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: D55755257

algoriddle avatar Apr 10 '24 14:04 algoriddle

This pull request was exported from Phabricator. Differential Revision: D55755257

facebook-github-bot avatar Apr 10 '24 14:04 facebook-github-bot