Opened 15 years ago

Closed 15 years ago

#1665 closed Bugs (fixed)

TSS won't compile with custom cleanup function due to missing cast

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

Description

The thread_specific_ptr takes a custom cleanup function that can be called in place of delete when the TSS data is destroyed. There is a cast missing in run_custom_cleanup_function, so this doesn't compile if T is not void.

Change History (1)

comment:1 by Anthony Williams, 15 years ago

Resolution: fixed
Status: newclosed

Fixed with revision 43461

Note: See TracTickets for help on using tickets.