Author: tabish
Date: Fri Jun 26 14:46:36 2009
New Revision: 788720
URL: http://svn.apache.org/viewvc?rev=788720&view=rev
Log:
Fix an HPUX aCC error.
Modified:
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/stomp/StompWireFormat.cpp
Modified:
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/stomp/StompWireFormat.cpp
URL:
http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/stomp/StompWireFormat.cpp?rev=788720&r1=788719&r2=788720&view=diff
==============================================================================
---
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/stomp/StompWireFormat.cpp
(original)
+++
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/stomp/StompWireFormat.cpp
Fri Jun 26 14:46:36 2009
@@ -183,6 +183,9 @@
throw UnsupportedOperationException( __FILE__, __LINE__,
"No Negotiator is required to use this WireFormat." );
+
+ // Apparently HP's aCC compiler is even dumber than Sun's
+ return Pointer<transport::Transport>();
}
////////////////////////////////////////////////////////////////////////////////