[SERVER-26228] Change `PoolForHost` to have a default dtor, using RAII internals. Created: 21/Sep/16  Updated: 05/Apr/17  Resolved: 06/Dec/16

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

Type: Improvement Priority: Minor - P4
Reporter: ADAM Martin (Inactive) Assignee: ADAM Martin (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Platforms 2017-01-23
Participants:

 Description   

Change `PoolForHost` to have a default dtor, using RAII internals.



 Comments   
Comment by Githook User [ 06/Dec/16 ]

Author:

{u'username': u'adamlsd', u'name': u'ADAM David Alan Martin', u'email': u'adam.martin@10gen.com'}

Message: SERVER-26228 Change `PoolForHost` to use RAII.

The explicit management code is brittle, and can be replaced with
some simpler code and a default destructor.
Branch: master
https://github.com/mongodb/mongo/commit/81442db668a2a3aa50583ea8c54e5b84006ad565

Generated at Thu Feb 08 04:11:30 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.