diff options
Diffstat (limited to 'cpp')
-rw-r--r-- | cpp/src/qpid/xml/XmlExchange.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/src/qpid/xml/XmlExchange.cpp b/cpp/src/qpid/xml/XmlExchange.cpp index d3269882d7..5197b239d0 100644 --- a/cpp/src/qpid/xml/XmlExchange.cpp +++ b/cpp/src/qpid/xml/XmlExchange.cpp @@ -144,7 +144,8 @@ bool XmlExchange::matches(Query& query, Deliverable& msg, const qpid::framing::F throw InternalErrorException(QPID_MSG("Query context looks munged ...")); } - XERCES_CPP_NAMESPACE::MemBufInputSource xml((XMLByte*) msgContent.c_str(), msgContent.length(), "input" ); + XERCES_CPP_NAMESPACE::MemBufInputSource xml((const XMLByte*) msgContent.c_str(), + msgContent.length(), "input" ); Sequence seq(context->parseDocument(xml)); if (args) { |