Modify

Ticket #4130 (closed Bugs: fixed)

Opened 4 years ago

Last modified 4 years ago

type missmatch in modify_key(iterator, Modifier, Rollback)

Reported by: vziegler@… Owned by: joaquin
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

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

Change History

Changed 4 years ago by vziegler@…

fix for boost 1.42.0 boost/multi_index/ordered_index.hpp

comment:1 Changed 4 years ago by joaquin

  • Status changed from new to closed
  • Resolution set to fixed

(In [61482]) fixed #4130

comment:2 Changed 4 years ago by joaquin

  • Milestone changed from Boost 1.43.0 to Boost 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.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


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

 
Note: See TracTickets for help on using tickets.