activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r545903 - /activemq/activemq-cpp/trunk/src/main/activemq/io/DataOutputStream.cpp
Date Sun, 10 Jun 2007 15:55:33 GMT
Author: tabish
Date: Sun Jun 10 08:55:32 2007
New Revision: 545903

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

Slight tweaks for performance, not much to do since this one is so simple.

Modified:
    activemq/activemq-cpp/trunk/src/main/activemq/io/DataOutputStream.cpp

Modified: activemq/activemq-cpp/trunk/src/main/activemq/io/DataOutputStream.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/io/DataOutputStream.cpp?view=diff&rev=545903&r1=545902&r2=545903
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/io/DataOutputStream.cpp (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/io/DataOutputStream.cpp Sun Jun 10 08:55:32
2007
@@ -172,7 +172,6 @@
         unsigned int lvalue = 0;
         memcpy( &lvalue, &value, sizeof( float ) );
         this->writeInt( lvalue );
-        memcpy( &value, &lvalue, sizeof( unsigned int ) );
     }
     AMQ_CATCH_RETHROW( IOException )
     AMQ_CATCHALL_THROW( IOException )
@@ -184,7 +183,6 @@
         unsigned long long lvalue = 0;
         memcpy( &lvalue, &value, sizeof( double ) );
         this->writeLong( lvalue );
-        memcpy( &value, &lvalue, sizeof( unsigned long long ) );
     }
     AMQ_CATCH_RETHROW( IOException )
     AMQ_CATCHALL_THROW( IOException )



Mime
View raw message