From ac2770a4bb6461bfbddec928bb6208f26f898f02 Mon Sep 17 00:00:00 2001 From: Narumol Prangnawarat Date: Wed, 1 Apr 2020 16:51:23 +0100 Subject: IVGCVSW-4485 Remove Boost assert * Change boost assert to armnn assert * Change include file to armnn assert * Fix ARMNN_ASSERT_MSG issue with multiple conditions * Change BOOST_ASSERT to BOOST_TEST where appropriate * Remove unused include statements Signed-off-by: Narumol Prangnawarat Change-Id: I5d0fa3a37b7c1c921216de68f0073aa34702c9ff --- include/armnn/utility/Assert.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/armnn/utility/Assert.hpp') diff --git a/include/armnn/utility/Assert.hpp b/include/armnn/utility/Assert.hpp index 4d2f47b90b..455775f9b7 100644 --- a/include/armnn/utility/Assert.hpp +++ b/include/armnn/utility/Assert.hpp @@ -12,7 +12,7 @@ namespace armnn #ifndef NDEBUG # define ARMNN_ASSERT(COND) assert(COND) -# define ARMNN_ASSERT_MSG(COND, MSG) assert(COND && MSG) +# define ARMNN_ASSERT_MSG(COND, MSG) assert((COND) && MSG) #else # define ARMNN_ASSERT(COND) # define ARMNN_ASSERT_MSG(COND, MSG) -- cgit v1.2.1