You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ta...@apache.org on 2006/10/19 19:49:23 UTC
svn commit: r465696 -
/incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/stomp/commands/AckCommand.h
Author: tabish
Date: Thu Oct 19 10:49:22 2006
New Revision: 465696
URL: http://svn.apache.org/viewvc?view=rev&rev=465696
Log:
Code cleanup for upcoming release
Modified:
incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/stomp/commands/AckCommand.h
Modified: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/stomp/commands/AckCommand.h
URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/stomp/commands/AckCommand.h?view=diff&rev=465696&r1=465695&r2=465696
==============================================================================
--- incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/stomp/commands/AckCommand.h (original)
+++ incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/stomp/commands/AckCommand.h Thu Oct 19 10:49:22 2006
@@ -53,10 +53,10 @@
* Get the Message Id of this Command
* @return the Id of the Message
*/
- virtual const char* getMessageId(void) const{
+ virtual std::string getMessageId(void) const{
return getPropertyValue(
CommandConstants::toString(
- CommandConstants::HEADER_MESSAGEID) );
+ CommandConstants::HEADER_MESSAGEID ), "" );
}
/**
@@ -66,7 +66,7 @@
virtual void setMessageId( const std::string& messageId ){
setPropertyValue(
CommandConstants::toString(
- CommandConstants::HEADER_MESSAGEID),
+ CommandConstants::HEADER_MESSAGEID ),
messageId );
}