forked from boostorg/config
Correct BOOST_UNREACHABLE_RETURN usage in test case.
This commit is contained in:
1 parent
6231009e97
commit
38a9ed16db
1 file changed
+1
-1
@@ -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; }
|
||||
|
||||
Reference in new issue
Block a user