Upstream to 3.4.1

Add patch for gcc47, AMQCPP-389
This commit is contained in:
Steve Traylen 2012-02-20 15:03:09 +01:00
commit 169a338d28
4 changed files with 24 additions and 4 deletions

12
activemq-cpp-gcc47.patch Normal file
View file

@ -0,0 +1,12 @@
diff -uNr activemq-cpp-library-3.4.1.ORIG/src/main/decaf/util/AbstractQueue.h activemq-cpp-library-3.4.1/src/main/decaf/util/AbstractQueue.h
--- activemq-cpp-library-3.4.1.ORIG/src/main/decaf/util/AbstractQueue.h 2012-02-19 21:37:49.536000023 +0100
+++ activemq-cpp-library-3.4.1/src/main/decaf/util/AbstractQueue.h 2012-02-19 21:38:56.722000023 +0100
@@ -60,7 +60,7 @@
*/
virtual bool add( const E& value ) {
- if( offer( value ) ) {
+ if( this->offer( value ) ) {
return true;
}