From: <den...@us...> - 2010-10-03 19:51:17
|
Revision: 339 http://stdair.svn.sourceforge.net/stdair/?rev=339&view=rev Author: denis_arnaud Date: 2010-10-03 19:51:11 +0000 (Sun, 03 Oct 2010) Log Message: ----------- [Batch] Fixed the sanity checks of the batch. Modified Paths: -------------- trunk/stdair/batches/stdair.cpp Modified: trunk/stdair/batches/stdair.cpp =================================================================== --- trunk/stdair/batches/stdair.cpp 2010-09-27 11:37:56 UTC (rev 338) +++ trunk/stdair/batches/stdair.cpp 2010-10-03 19:51:11 UTC (rev 339) @@ -433,7 +433,7 @@ lLegDateList.begin(); itLD != lLegDateList.end(); ++itLD) { const stdair::LegDate* lLD_ptr = *itLD; - assert (lFD_ptr != NULL); + assert (lLD_ptr != NULL); // STDAIR_LOG_DEBUG ("LegDate: " << lLD_ptr->toString()); STDAIR_LOG_DEBUG (" " << lLD_ptr->toString()); @@ -445,7 +445,7 @@ lLegCabinList.begin(); itLC != lLegCabinList.end(); ++itLC) { const stdair::LegCabin* lLC_ptr = *itLC; - assert (lFD_ptr != NULL); + assert (lLC_ptr != NULL); // STDAIR_LOG_DEBUG ("LegCabin: " << lLC_ptr->toString()); STDAIR_LOG_DEBUG (" " << lLC_ptr->toString()); @@ -459,7 +459,7 @@ lSegmentDateList.begin(); itSD != lSegmentDateList.end(); ++itSD) { const stdair::SegmentDate* lSD_ptr = *itSD; - assert (lFD_ptr != NULL); + assert (lSD_ptr != NULL); // STDAIR_LOG_DEBUG ("SegmentDate: " << lSD_ptr->toString()); STDAIR_LOG_DEBUG (" " << lSD_ptr->toString()); @@ -471,7 +471,7 @@ lSegmentCabinList.begin(); itSC != lSegmentCabinList.end(); ++itSC) { const stdair::SegmentCabin* lSC_ptr = *itSC; - assert (lFD_ptr != NULL); + assert (lSC_ptr != NULL); // STDAIR_LOG_DEBUG ("SegmentCabin: " << lSC_ptr->toString()); STDAIR_LOG_DEBUG (" " << lSC_ptr->toString()); @@ -483,7 +483,7 @@ lBookingClassList.begin(); itBC != lBookingClassList.end(); ++itBC) { const stdair::BookingClass* lBC_ptr = *itBC; - assert (lFD_ptr != NULL); + assert (lBC_ptr != NULL); // STDAIR_LOG_DEBUG ("BookingClass: " << lBC_ptr->toString()); STDAIR_LOG_DEBUG (" " << lBC_ptr->toString()); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |