You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by gs...@apache.org on 2013/09/23 11:24:42 UTC
svn commit: r1525541 - /qpid/trunk/qpid/cpp/src/qpid/broker/amqp/Session.cpp
Author: gsim
Date: Mon Sep 23 09:24:41 2013
New Revision: 1525541
URL: http://svn.apache.org/r1525541
Log:
QPID-5146: fix for older boost (or perhaps older compiler)
Modified:
qpid/trunk/qpid/cpp/src/qpid/broker/amqp/Session.cpp
Modified: qpid/trunk/qpid/cpp/src/qpid/broker/amqp/Session.cpp
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/qpid/broker/amqp/Session.cpp?rev=1525541&r1=1525540&r2=1525541&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/qpid/broker/amqp/Session.cpp (original)
+++ qpid/trunk/qpid/cpp/src/qpid/broker/amqp/Session.cpp Mon Sep 23 09:24:41 2013
@@ -101,11 +101,13 @@ void readCapabilities(pn_data_t* data, F
if (type == PN_ARRAY) {
pn_data_enter(data);
while (pn_data_next(data)) {
- f(convert(pn_data_get_symbol(data)));
+ std::string s = convert(pn_data_get_symbol(data));
+ f(s);
}
pn_data_exit(data);
} else if (type == PN_SYMBOL) {
- f(convert(pn_data_get_symbol(data)));
+ std::string s = convert(pn_data_get_symbol(data));
+ f(s);
} else {
QPID_LOG(error, "Skipping capabilities field of type " << pn_type_name(type));
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org