From: <qua...@us...> - 2010-04-22 12:26:02
|
Revision: 180 http://stdair.svn.sourceforge.net/stdair/?rev=180&view=rev Author: quannaus Date: 2010-04-22 12:25:56 +0000 (Thu, 22 Apr 2010) Log Message: ----------- [Dev] Fixed the forgotten 'return' statement. Modified Paths: -------------- trunk/stdair/stdair/bom/FlightDateContent.hpp trunk/stdair/stdair/bom/InventoryContent.hpp trunk/stdair/stdair/bom/NetworkContent.hpp trunk/stdair/stdair/bom/NetworkDateContent.hpp trunk/stdair/stdair/bom/OutboundPathContent.hpp trunk/stdair/stdair/bom/SegmentDateContent.hpp Modified: trunk/stdair/stdair/bom/FlightDateContent.hpp =================================================================== --- trunk/stdair/stdair/bom/FlightDateContent.hpp 2010-04-22 12:17:42 UTC (rev 179) +++ trunk/stdair/stdair/bom/FlightDateContent.hpp 2010-04-22 12:25:56 UTC (rev 180) @@ -121,7 +121,7 @@ /** Get a string describing the short key (differentiating two objects at the same level). */ - const std::string describeShortKey() const { _key.toString(); } + const std::string describeShortKey() const { return _key.toString(); } protected: /** Default constructors. */ Modified: trunk/stdair/stdair/bom/InventoryContent.hpp =================================================================== --- trunk/stdair/stdair/bom/InventoryContent.hpp 2010-04-22 12:17:42 UTC (rev 179) +++ trunk/stdair/stdair/bom/InventoryContent.hpp 2010-04-22 12:25:56 UTC (rev 180) @@ -32,7 +32,7 @@ /** Get a string describing the short key (differentiating two objects at the same level). */ - const std::string describeShortKey() const { _key.toString(); } + const std::string describeShortKey() const { return _key.toString(); } public: // ////////// Getters //////////// Modified: trunk/stdair/stdair/bom/NetworkContent.hpp =================================================================== --- trunk/stdair/stdair/bom/NetworkContent.hpp 2010-04-22 12:17:42 UTC (rev 179) +++ trunk/stdair/stdair/bom/NetworkContent.hpp 2010-04-22 12:25:56 UTC (rev 180) @@ -39,7 +39,7 @@ /** Get a string describing the short key (differentiating two objects at the same level). */ - const std::string describeShortKey() const { _key.toString(); } + const std::string describeShortKey() const { return _key.toString(); } protected: /** Default constructors. */ Modified: trunk/stdair/stdair/bom/NetworkDateContent.hpp =================================================================== --- trunk/stdair/stdair/bom/NetworkDateContent.hpp 2010-04-22 12:17:42 UTC (rev 179) +++ trunk/stdair/stdair/bom/NetworkDateContent.hpp 2010-04-22 12:25:56 UTC (rev 180) @@ -39,7 +39,7 @@ /** Get a string describing the short key (differentiating two objects at the same level). */ - const std::string describeShortKey() const { _key.toString(); } + const std::string describeShortKey() const { return _key.toString(); } protected: /** Default constructors. */ Modified: trunk/stdair/stdair/bom/OutboundPathContent.hpp =================================================================== --- trunk/stdair/stdair/bom/OutboundPathContent.hpp 2010-04-22 12:17:42 UTC (rev 179) +++ trunk/stdair/stdair/bom/OutboundPathContent.hpp 2010-04-22 12:25:56 UTC (rev 180) @@ -95,7 +95,7 @@ /** Get a string describing the whole key (differentiating two objects at any level). */ - const std::string describeShortKey() const { _key.toString(); } + const std::string describeShortKey() const { return _key.toString(); } protected: Modified: trunk/stdair/stdair/bom/SegmentDateContent.hpp =================================================================== --- trunk/stdair/stdair/bom/SegmentDateContent.hpp 2010-04-22 12:17:42 UTC (rev 179) +++ trunk/stdair/stdair/bom/SegmentDateContent.hpp 2010-04-22 12:25:56 UTC (rev 180) @@ -173,7 +173,7 @@ /** Get a string describing the short key (differentiating two objects at the same level). */ - const std::string describeShortKey() const { _key.toString(); } + const std::string describeShortKey() const { return _key.toString(); } protected: This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |