From: <qua...@us...> - 2009-10-05 08:42:44
|
Revision: 26 http://stdair.svn.sourceforge.net/stdair/?rev=26&view=rev Author: quannaus Date: 2009-10-05 08:42:37 +0000 (Mon, 05 Oct 2009) Log Message: ----------- [Dev] Some small changes. Modified Paths: -------------- trunk/stdair/stdair/bom/BomIterator.hpp Modified: trunk/stdair/stdair/bom/BomIterator.hpp =================================================================== --- trunk/stdair/stdair/bom/BomIterator.hpp 2009-10-05 08:40:55 UTC (rev 25) +++ trunk/stdair/stdair/bom/BomIterator.hpp 2009-10-05 08:42:37 UTC (rev 26) @@ -211,7 +211,7 @@ typedef typename BOM_CONTENT::BomStructure_T BomStructure_T; // Define the pair of string and pointer of BOM_CONTENT. - typedef typename std::pair<std::string, const BOM_CONTENT*> value_type; + typedef typename std::pair<std::string, BOM_CONTENT*> value_type; // Definition allowing the retrieve the difference type of the ITERATOR. typedef typename ITERATOR::difference_type difference_type; @@ -249,7 +249,7 @@ // ////////////// Dereferencing Operators ////////////// /** Dereferencing operator for iterators on a list. */ - const BOM_CONTENT& operator* () { + BOM_CONTENT& operator* () { const BomStructure_T* lBomStruct_ptr = *Parent_T::_itBomStructureObject; assert (lBomStruct_ptr != NULL); BOM_CONTENT* lBomContent_ptr = This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |