Fix guard clause on get_mem_usage_kb(). (#1371)

Summary: Pull Request resolved: https://github.com/facebookresearch/faiss/pull/1371

Test Plan: Imported from OSS

Reviewed By: mdouze

Differential Revision: D23314741

Pulled By: beauby

fbshipit-source-id: f64e80fbb24bac25134a3d619845839274db898b
This commit is contained in:
Lucas Hosseini
2020-08-25 16:58:24 -07:00
committed by Facebook GitHub Bot
parent 2450f5ee4c
commit b9cfa46c92
+2 -2
View File
@@ -121,11 +121,11 @@ size_t get_mem_usage_kb ()
return sz;
}
#elif __APPLE__
#else
size_t get_mem_usage_kb ()
{
fprintf(stderr, "WARN: get_mem_usage_kb not implemented on the mac\n");
fprintf(stderr, "WARN: get_mem_usage_kb not implemented on current architecture\n");
return 0;
}