Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#4130 closed Bugs (fixed)

type missmatch in modify_key(iterator, Modifier, Rollback)

Reported by: vziegler@… Owned by: Joaquín M López Muñoz
Milestone: Boost 1.44.0 Component: multi_index
Version: Boost 1.42.0 Severity: Problem
Keywords: Cc:

Description

In ordered_index.hpp, inside function modify_key(iterator, Modifier, Rollback), the first template argument to the second instance of modify_key_adaptor has to be Rollback instead of Modifier (see attached patch).

Regards, Valentin

Attachments (1)

ordered_index.hpp.patch (1.1 KB ) - added by vziegler@… 13 years ago.
fix for boost 1.42.0 boost/multi_index/ordered_index.hpp

Download all attachments as: .zip

Change History (3)

by vziegler@…, 13 years ago

Attachment: ordered_index.hpp.patch added

fix for boost 1.42.0 boost/multi_index/ordered_index.hpp

comment:1 by Joaquín M López Muñoz, 13 years ago

Resolution: fixed
Status: newclosed

(In [61482]) fixed #4130

comment:2 by Joaquín M López Muñoz, 13 years ago

Milestone: Boost 1.43.0Boost 1.44.0

Hi Valentin, thank you for reporting the bug. It also affected hashed indices. The fix is in trunk and will be available for Boost 1.44.

Note: See TracTickets for help on using tickets.