Opened 14 years ago

Closed 14 years ago

#2394 closed Bugs (fixed)

Incorrect ID set by weak_count constructor

Reported by: Jim Barry <jim@…> Owned by: Peter Dimov
Milestone: Boost 1.39.0 Component: smart_ptr
Version: Boost 1.36.0 Severity: Problem
Keywords: Cc:

Description

In shared_count.hpp, two of the three weak_count constructors set the id_ member to shared_count_id instead of weak_count_id. I believe it should be weak_count_id in all three cases.

Change History (3)

comment:1 by Peter Dimov, 14 years ago

Milestone: Boost 1.39.0
Status: newassigned

comment:2 by Peter Dimov, 14 years ago

(In [51514]) Refs #2394 (fixed in trunk.)

comment:3 by Peter Dimov, 14 years ago

Resolution: fixed
Status: assignedclosed

(In [51535]) Merge [51514] to release. Closes #2394.

Note: See TracTickets for help on using tickets.