Modify

Opened 7 years ago

Closed 7 years ago

Last modified 7 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@… 7 years ago.
fix for boost 1.42.0 boost/multi_index/ordered_index.hpp

Download all attachments as: .zip

Change History (3)

Changed 7 years ago by vziegler@…

Attachment: ordered_index.hpp.patch added

fix for boost 1.42.0 boost/multi_index/ordered_index.hpp

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

Resolution: fixed
Status: newclosed

(In [61482]) fixed #4130

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

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.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Joaquín M López Muñoz.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.