From 38a9ed16db8f5ff18c13b6b606acc4b38efca8fb Mon Sep 17 00:00:00 2001 From: jzmaddock Date: Mon, 1 Apr 2019 17:21:14 +0100 Subject: [PATCH] Correct BOOST_UNREACHABLE_RETURN usage in test case. --- test/helper_macro_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/helper_macro_test.cpp b/test/helper_macro_test.cpp index e3b11128..2f707dc6 100644 --- a/test/helper_macro_test.cpp +++ b/test/helper_macro_test.cpp @@ -23,7 +23,7 @@ int test_unreachable(int i) if(BOOST_LIKELY(i)) return i; throw i; - BOOST_UNREACHABLE_RETURN(0); + BOOST_UNREACHABLE_RETURN(0) // NOTE: no semicolon afterwards!! } BOOST_FORCEINLINE int always_inline(int i){ return ++i; }