From b554a07a420bdc581ba8f0fcaef5851cc2359393 Mon Sep 17 00:00:00 2001 From: Andrew Stitcher Date: Wed, 16 May 2012 22:28:22 +0000 Subject: QPID-4005: Eliminate "using" especially "using namespace" from header file git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1339403 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/client/SessionImpl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpp/src/qpid/client/SessionImpl.cpp') diff --git a/cpp/src/qpid/client/SessionImpl.cpp b/cpp/src/qpid/client/SessionImpl.cpp index 3f3ad617f4..91e728d5ae 100644 --- a/cpp/src/qpid/client/SessionImpl.cpp +++ b/cpp/src/qpid/client/SessionImpl.cpp @@ -426,7 +426,7 @@ void SessionImpl::sendContent(const MethodContent& content) uint32_t remaining = data_length - offset; while (remaining > 0) { uint32_t length = remaining > frag_size ? frag_size : remaining; - string frag(content.getData().substr(offset, length)); + std::string frag(content.getData().substr(offset, length)); AMQFrame frame((AMQContentBody(frag))); frame.setFirstSegment(false); frame.setLastSegment(true); -- cgit v1.2.1