[CXX-253] Files dependent on make_shared should include make_shared.hpp Created: 17/Jun/14  Updated: 17/Jun/14  Resolved: 17/Jun/14

Status: Closed
Project: C++ Driver
Component/s: Implementation
Affects Version/s: legacy-0.0-26compat-2.6.1
Fix Version/s: legacy-0.0-26compat-2.6.2

Type: Bug Priority: Major - P3
Reporter: Andrew Morrow (Inactive) Assignee: Andrew Morrow (Inactive)
Resolution: Done Votes: 0
Labels: legacy-cxx
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Older boost versions did not include make_shared.hpp in smart_ptr.hpp, but we currently assume in the 26compat branch that the include of smart_ptr.hpp in pch.h will provide boost::make_shared.

Files dependent on make_shared should explicitly include the make_shared.hpp header.

Note that this does not affect legacy-0.8+ as pch.h was removed and make_shared.hpp added as needed throughout the codebase.



 Comments   
Comment by Andrew Morrow (Inactive) [ 17/Jun/14 ]

https://github.com/mongodb/mongo-cxx-driver/pull/101

Generated at Wed Feb 07 21:58:39 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.