activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r562466 - /activemq/activemq-cpp/trunk/src/decaf/src/main/decaf/lang/Short.cpp
Date Fri, 03 Aug 2007 13:58:24 GMT
Author: tabish
Date: Fri Aug  3 06:58:24 2007
New Revision: 562466

URL: http://svn.apache.org/viewvc?view=rev&rev=562466
Log:
http://issues.apache.org/activemq/browse/AMQCPP-103

Adding in more Types wrappers

Modified:
    activemq/activemq-cpp/trunk/src/decaf/src/main/decaf/lang/Short.cpp

Modified: activemq/activemq-cpp/trunk/src/decaf/src/main/decaf/lang/Short.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/decaf/src/main/decaf/lang/Short.cpp?view=diff&rev=562466&r1=562465&r2=562466
==============================================================================
--- activemq/activemq-cpp/trunk/src/decaf/src/main/decaf/lang/Short.cpp (original)
+++ activemq/activemq-cpp/trunk/src/decaf/src/main/decaf/lang/Short.cpp Fri Aug  3 06:58:24
2007
@@ -46,14 +46,12 @@
 
 ////////////////////////////////////////////////////////////////////////////////
 std::string Short::toString() const {
-    return toString( this->value );
+    return Integer::toString( this->value );
 }
 
 ////////////////////////////////////////////////////////////////////////////////
 std::string Short::toString( short value ) {
-    std::ostringstream oss;
-    oss << value;
-    return oss.str();
+    return Integer::toString( value );
 }
 
 ////////////////////////////////////////////////////////////////////////////////



Mime
View raw message