Skip to content

Commit 00cbc53

Browse files
committed
Fix
1 parent db16c39 commit 00cbc53

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/ystdlib/error_handling/Result.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ using Result = BOOST_OUTCOME_V2_NAMESPACE::std_result<ReturnType, ErrorType>;
4343
// NOLINTNEXTLINE(cppcoreguidelines-macro-usage)
4444
#define YSTDLIB_ERROR_HANDLING_TRYV(expr) BOOST_OUTCOME_TRYV(expr)
4545
// NOLINTNEXTLINE(cppcoreguidelines-macro-usage)
46-
#define YSTDLIB_ERROR_HANDLING_TRY(val, expr) BOOST_OUTCOME_TRY(auto&& (val), (expr))
46+
#define YSTDLIB_ERROR_HANDLING_TRY(val, expr) BOOST_OUTCOME_TRY(auto &&(val), (expr))
4747
} // namespace ystdlib::error_handling
4848

4949
#endif // YSTDLIB_ERROR_HANDLING_RESULT_HPP

0 commit comments

Comments
 (0)