8 Feb
2010
8 Feb
'10
7:12 p.m.
AMDG ishay lavi wrote:
const typeItemsIndexingContainer::indexItemIndex::ItemName::type& indexItemName = my_indexing.getItemIndex::ItemName(); typeItemsIndexingContainer::indexItemIndex::ItemName::type::iterator itName = indexItemName.find( item1.chItemName ); indexItemName.erase( itName );
const typeItemsIndexingContainer::indexItemIndex::ItemGroup::type& indexItemGroup = my_indexing.getItemIndex::ItemGroup(); typeItemsIndexingContainer::indexItemIndex::ItemGroup::type::iterator itGroup = indexItemGroup.find( item1.chItemGroup ); indexItemGroup.erase( itGroup ); //========================================================================
You can't erase from a const index. In Christ, Steven Watanabe