net: flag relevant Sock methods with [[nodiscard]]#21659
net: flag relevant Sock methods with [[nodiscard]]#21659laanwj merged 1 commit intobitcoin:masterfrom
Conversation
|
Having two I am ~0 on this. Taking the dump/KISS approach for now - one |
|
Concept ACK Rationale: Having the Thanks for addressing this! |
|
|
|
cr ACK e286cd0: the only changes made are additions of |
|
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. ConflictsReviewers, this pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first. |
|
Code review ACK e286cd0 |
e286cd0 net: flag relevant Sock methods with [[nodiscard]] (Vasil Dimov) Pull request description: Flag relevant Sock methods with `[[nodiscard]]` to avoid issues like the one fixed in bitcoin#21631. ACKs for top commit: practicalswift: cr ACK e286cd0: the only changes made are additions of `[[nodiscard]]` and `(void)` where appropriate laanwj: Code review ACK e286cd0 Tree-SHA512: addc361968d24912bb625b42f4db557791556bf0ffad818252a89a32d76ac22758ec70f8282dcfbfd77eebec20a8e6bb7557c8ed08d50a58de95378c34955973
Flag relevant Sock methods with
[[nodiscard]]to avoid issues like the one fixed in #21631.