mirror of
https://github.com/boostorg/leaf.git
synced 2026-01-19 04:22:08 +00:00
BOOST_LEAF_ASSERT
This commit is contained in:
@@ -37,7 +37,7 @@ leaf::result<int> compute_answer( int what_to_do ) noexcept
|
||||
case 2:
|
||||
return leaf::new_error(error_code::error2);
|
||||
default:
|
||||
assert(what_to_do==3);
|
||||
BOOST_LEAF_ASSERT(what_to_do==3);
|
||||
return leaf::new_error(error_code::error3);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user