From 9d4b4822241744066626ed0b9806ccb444a462fa Mon Sep 17 00:00:00 2001 From: mutouyun Date: Sat, 28 Oct 2023 11:21:28 +0800 Subject: [PATCH] add LIBIMP_UNUSED for ut --- test/imp/test_imp_byte.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/imp/test_imp_byte.cpp b/test/imp/test_imp_byte.cpp index a21daee..5ce48d1 100644 --- a/test/imp/test_imp_byte.cpp +++ b/test/imp/test_imp_byte.cpp @@ -4,10 +4,11 @@ #include "libimp/byte.h" #include "libimp/span.h" #include "libimp/fmt.h" +#include "libimp/detect_plat.h" TEST(byte, construct) { { - imp::byte b; + LIBIMP_UNUSED imp::byte b; SUCCEED(); } {