Opened 15 years ago

Closed 15 years ago

#1693 closed Bugs (fixed)

thread_specific_ptr::release unusable

Reported by: Anthony Williams Owned by: Anthony Williams
Milestone: Boost 1.35.0 Component: thread
Version: Boost Development Trunk Severity: Regression
Keywords: Cc:

Description

Any attempt to use thread_specific_ptr::release results in a compile error, as the call to set_tss_data passes "0" to a parameter expecting a shared_ptr. The fix is to pass a default-constructed shared_ptr instead.

Change History (1)

comment:1 by Anthony Williams, 15 years ago

Resolution: fixed
Status: newclosed

Fixed on trunk with Revision #43666

Note: See TracTickets for help on using tickets.