From 2748e2b440fe76e359360634b24cc80ea57ee2a7 Mon Sep 17 00:00:00 2001 From: sunby Date: Thu, 19 Oct 2023 16:38:32 +0800 Subject: [PATCH] [Cpp] Remove compiler warning about macro redefined Signed-off-by: sunby --- cpp/include/milvus-storage/common/macro.h | 1 + 1 file changed, 1 insertion(+) diff --git a/cpp/include/milvus-storage/common/macro.h b/cpp/include/milvus-storage/common/macro.h index bf4a319..ae76d71 100644 --- a/cpp/include/milvus-storage/common/macro.h +++ b/cpp/include/milvus-storage/common/macro.h @@ -8,6 +8,7 @@ namespace milvus_storage { #define CONCAT(x, y) CONCAT_IMPL(x, y) +#undef RETURN_NOT_OK #define RETURN_NOT_OK(status) \ do { \ if (!(status).ok()) { \