|
From: <den...@us...> - 2010-01-28 19:38:20
|
Revision: 56
http://dsim.svn.sourceforge.net/dsim/?rev=56&view=rev
Author: denis_arnaud
Date: 2010-01-28 19:38:14 +0000 (Thu, 28 Jan 2010)
Log Message:
-----------
[DSIM] Check that the pointer on OutboundPath object is not NULL.
Modified Paths:
--------------
trunk/dsim/dsim/command/Simulator.cpp
Modified: trunk/dsim/dsim/command/Simulator.cpp
===================================================================
--- trunk/dsim/dsim/command/Simulator.cpp 2010-01-28 15:53:26 UTC (rev 55)
+++ trunk/dsim/dsim/command/Simulator.cpp 2010-01-28 19:38:14 UTC (rev 56)
@@ -75,8 +75,10 @@
const stdair::NbOfSeats_T& lNbOfSeats = iBookingRequest.getPartySize();
// Make a sale.
+ assert (lChosenTravelSolution_ptr != NULL);
ioSIMCRS_Service.sell (*lChosenTravelSolution_ptr, lNbOfSeats);
}
}
}
+
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|