File tree Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,8 @@ using Result = BOOST_OUTCOME_V2_NAMESPACE::std_result<ReturnType, ErrorType>;
4242 */
4343// NOLINTNEXTLINE(cppcoreguidelines-macro-usage)
4444#define YSTDLIB_ERROR_HANDLING_TRYV (expr ) BOOST_OUTCOME_TRYV(expr)
45- #define YSTDLIB_ERROR_HANDLING_TRY (val, expr ) BOOST_OUTCOME_TRY(auto && val, expr)
45+ // NOLINTNEXTLINE(cppcoreguidelines-macro-usage)
46+ #define YSTDLIB_ERROR_HANDLING_TRY (val, expr ) BOOST_OUTCOME_TRY(auto && (val), (expr))
4647} // namespace ystdlib::error_handling
4748
4849#endif // YSTDLIB_ERROR_HANDLING_RESULT_HPP
Original file line number Diff line number Diff line change 22
33#include < catch2/catch_test_macros.hpp>
44
5- namespace ystdlib ::wrapped_facade_headers::test {
6-
7- namespace {
5+ namespace ystdlib ::wrapped_facade_headers::test { namespace {
86TEST_CASE (" test_sys_types_u_char" , " [wrapped_facade_headers][sys_types][u_char]" ) {
97 u_char const i{0 };
108 REQUIRE (0 == i);
@@ -165,6 +163,4 @@ TEST_CASE("test_sys_types_fsfilcnt_t", "[wrapped_facade_headers][sys_types][fsfi
165163 fsfilcnt_t const i{0 };
166164 REQUIRE (0 == i);
167165}
168- }
169-
170- } // namespace ystdlib::wrapped_facade_headers::test
166+ }} // namespace ystdlib::wrapped_facade_headers::test
You can’t perform that action at this time.
0 commit comments