[SERVER-49053] remove makeStatusWith Created: 23/Jun/20  Updated: 29/Oct/23  Resolved: 24/Jun/20

Status: Closed
Project: Core Server
Component/s: Internal Code
Affects Version/s: None
Fix Version/s: 4.7.0

Type: Improvement Priority: Major - P3
Reporter: Billy Donahue Assignee: Billy Donahue
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Service arch 2020-06-29
Participants:

 Description   

This function is a 1-liner. It has a much larger unit test.

It's only used in 3 places, across 2 files.

C++17 provides constructor template argument deduction now, so we don't need maker functions like this one. Much cleaner to just not have it at all.



 Comments   
Comment by Githook User [ 24/Jun/20 ]

Author:

{'name': 'Billy Donahue', 'email': 'billy.donahue@mongodb.com', 'username': 'BillyDonahue'}

Message: SERVER-49053 remove makeStatusWith
Branch: master
https://github.com/mongodb/mongo/commit/29b431208ce22abe6082ba6f264fc12dc2158ce7

Comment by Billy Donahue [ 24/Jun/20 ]

CR https://mongodbcr.appspot.com/603390001/

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