[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: |
| Comment by Billy Donahue [ 24/Jun/20 ] |