qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From astitc...@apache.org
Subject svn commit: r1101176 - /qpid/trunk/qpid/cpp/src/qpid/broker/Message.h
Date Mon, 09 May 2011 19:55:09 GMT
Author: astitcher
Date: Mon May  9 19:55:08 2011
New Revision: 1101176

URL: http://svn.apache.org/viewvc?rev=1101176&view=rev
Log:
QPID-3004: Get Clang to compile qpid c++
- Fixed constness when getting message property

Modified:
    qpid/trunk/qpid/cpp/src/qpid/broker/Message.h

Modified: qpid/trunk/qpid/cpp/src/qpid/broker/Message.h
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/qpid/broker/Message.h?rev=1101176&r1=1101175&r2=1101176&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/qpid/broker/Message.h (original)
+++ qpid/trunk/qpid/cpp/src/qpid/broker/Message.h Mon May  9 19:55:08 2011
@@ -94,7 +94,7 @@ public:
     }
 
     template <class T> const T* getProperties() const {
-        qpid::framing::AMQHeaderBody* p = frames.getHeaders();
+        const qpid::framing::AMQHeaderBody* p = frames.getHeaders();
         return p->get<T>(true);
     }
 



---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org


Mime
View raw message