From: <den...@us...> - 2010-08-28 20:39:24
|
Revision: 281 http://stdair.svn.sourceforge.net/stdair/?rev=281&view=rev Author: denis_arnaud Date: 2010-08-28 20:39:17 +0000 (Sat, 28 Aug 2010) Log Message: ----------- [Dev] Just added a const in the batch. Modified Paths: -------------- trunk/stdair/stdair/batches/stdair.cpp Modified: trunk/stdair/stdair/batches/stdair.cpp =================================================================== --- trunk/stdair/stdair/batches/stdair.cpp 2010-08-24 16:56:23 UTC (rev 280) +++ trunk/stdair/stdair/batches/stdair.cpp 2010-08-28 20:39:17 UTC (rev 281) @@ -164,13 +164,13 @@ // Step 0.1: Inventory level // Create an Inventory for BA - stdair::InventoryKey lBAKey ("BA"); + const stdair::InventoryKey lBAKey ("BA"); stdair::Inventory& lBAInv = stdair::FacBom<stdair::Inventory>::instance().create (lBAKey); stdair::FacBomManager::addToList (lBomRoot, lBAInv); // Create an Inventory for AF - stdair::InventoryKey lAFKey ("AF"); + const stdair::InventoryKey lAFKey ("AF"); stdair::Inventory& lAFInv = stdair::FacBom<stdair::Inventory>::instance().create (lAFKey); stdair::FacBomManager::addToList (lBomRoot, lAFInv); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |