[SERVER-33419] Use [[nodiscard]] for MONGO_WARN_UNUSED_RESULT_CLASS on GCC>=7 Created: 21/Feb/18 Updated: 29/Oct/23 Resolved: 03/Mar/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Internal Code |
| Affects Version/s: | None |
| Fix Version/s: | 3.7.3 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Mathias Stearn | Assignee: | Mathias Stearn |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Sprint: | Platforms 2018-02-26, Platforms 2018-03-12 |
| Participants: |
| Description |
|
g++7 added support for [[nodiscard]] with the semantics we want. Doing this will make my work on Future easier. |
| Comments |
| Comment by Githook User [ 03/Mar/18 ] |
|
Author: {'email': 'mathias@10gen.com', 'name': 'Mathias Stearn', 'username': 'RedBeard0531'}Message: |