[SERVER-68181] Fix operator<< for ShardSplitDonorStateEnum Created: 20/Jul/22  Updated: 29/Oct/23  Resolved: 20/Jul/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.1.0-rc0

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 2022-07-25
Participants:

 Description   

This is defined on std::ostringstream& instead of std::ostream&,
which is not idiomatic and breaks a proposed concept check for streamability.

(needed for SERVER-68121)



 Comments   
Comment by Githook User [ 20/Jul/22 ]

Author:

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

Message: SERVER-68181 Fix: operator<< on ostream not ostringstream
Branch: master
https://github.com/mongodb/mongo/commit/7692c424847d6bf3e35cd2bf09f00072453effb8

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