[SERVER-17309] Replace std::auto_ptr with std::unique_ptr Created: 17/Feb/15  Updated: 05/Feb/16  Resolved: 11/Jun/15

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

Type: Improvement Priority: Major - P3
Reporter: Andrew Morrow (Inactive) Assignee: Andrew Morrow (Inactive)
Resolution: Done Votes: 0
Labels: C++11
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Platform 5 06/26/16
Participants:

 Description   

std::auto_ptr is deprecated in C++11 in favor of std::unique_ptr. Note that clang-modernize may be able to perform this transformation for us.



 Comments   
Comment by Githook User [ 11/Jun/15 ]

Author:

{u'username': u'acmorrow', u'name': u'Andrew Morrow', u'email': u'acm@mongodb.com'}

Message: SERVER-17309 Replace std::auto_ptr<T> with std::unique_ptr<T>
Branch: master
https://github.com/mongodb/mongo/commit/a9b6612f5322f916298c19a6728817a1034c6aab

Comment by Githook User [ 11/Jun/15 ]

Author:

{u'username': u'acmorrow', u'name': u'Andrew Morrow', u'email': u'acm@mongodb.com'}

Message: SERVER-17309 Use std::unique_ptr instead of std::auto_ptr
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/b87b6886ec55dfbc0c3bc4bf377a5e217a665c16

Generated at Thu Feb 08 03:43:58 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.