Author: tabish
Date: Mon Mar 16 18:47:49 2009
New Revision: 754976
URL: http://svn.apache.org/viewvc?rev=754976&view=rev
Log:
http://issues.apache.org/activemq/browse/AMQCPP-100
Fix a bug in the toString method.
Modified:
activemq/activemq-cpp/trunk/src/main/activemq/state/TransactionState.cpp
Modified:
activemq/activemq-cpp/trunk/src/main/activemq/state/TransactionState.cpp
URL:
http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/state/TransactionState.cpp?rev=754976&r1=754975&r2=754976&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/state/TransactionState.cpp
(original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/state/TransactionState.cpp
Mon Mar 16 18:47:49 2009
@@ -40,7 +40,7 @@
////////////////////////////////////////////////////////////////////////////////
std::string TransactionState::toString() const {
- if( this->id.get() == NULL ) {
+ if( this->id != NULL ) {
return this->id->toString();
}