Skip to content

Commit 6361e25

Browse files
committed
Fix NOLINT comments
1 parent 2ea95f2 commit 6361e25

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/ystdlib/error_handling/Result.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,12 @@ using Result = OUTCOME_V2_NAMESPACE::std_result<ReturnType, ErrorType>;
5454
*
5555
* Only supported on AppleClang, Clang, and GCC due to reliance on Outcome's TRY macros.
5656
*/
57-
// NOLINTNEXTLINE(cppcoreguidelines-avoid-do-while, cppcoreguidelines-macro-usage)
57+
// NOLINTBEGIN(cppcoreguidelines-avoid-do-while, cppcoreguidelines-macro-usage)
5858
#define YSTDLIB_ERROR_HANDLING_TRYV(expr) \
5959
do { \
6060
OUTCOME_TRYV(expr); \
6161
} while (false)
62+
// NOLINTEND(cppcoreguidelines-avoid-do-while, cppcoreguidelines-macro-usage)
6263
} // namespace ystdlib::error_handling
6364

6465
#endif // YSTDLIB_ERROR_HANDLING_RESULT_HPP

0 commit comments

Comments
 (0)