Ticket #2662: make_shared_optimization.patch
File make_shared_optimization.patch, 511 bytes (added by , 14 years ago) |
---|
-
boost/make_shared.hpp
60 60 { 61 61 } 62 62 63 // this copy constructor is an optimization: we don't need to copy the storage_ member, 64 // and shouldn't be copying anyways after initialized_ becomes true 65 sp_ms_deleter(const sp_ms_deleter &other): initialized_( false ) 66 {} 67 63 68 ~sp_ms_deleter() 64 69 { 65 70 destroy();