[SERVER-46143] ExecutorFuture class declaration should include MONGO_WARN_UNUSED_RESULT_CLASS Created: 13/Feb/20  Updated: 29/Oct/23  Resolved: 20/Feb/20

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.3.4

Type: Bug Priority: Major - P3
Reporter: Esha Maharishi (Inactive) Assignee: Esha Maharishi (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Sharding 2020-02-24
Participants:

 Description   

TheĀ ExecutorFuture class declaration is missing MONGO_WARN_UNUSED_RESULT_CLASS (see the SemiFuture class declaration as an example), and as a result, there is no compile error if an ExecutorFuture continuation chain is ended without a call to get/getNoThrow/getAsync.



 Comments   
Comment by Githook User [ 20/Feb/20 ]

Author:

{'name': 'Esha Maharishi', 'username': 'EshaMaharishi', 'email': 'esha.maharishi@mongodb.com'}

Message: SERVER-46143 ExecutorFuture class declaration should include MONGO_WARN_UNUSED_RESULT_CLASS
Branch: master
https://github.com/mongodb/mongo/commit/39c07e1f5f8eda4f87e1b357dde1eab6407f0491

Generated at Thu Feb 08 05:10:36 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.