2
0
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:
Emil Dotchevski
2020-01-03 10:30:41 -08:00
parent 0d276db168
commit 7404e5585b
18 changed files with 198 additions and 168 deletions

View File

@@ -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);
}
}