diff options
author | Andrew Stitcher <astitcher@apache.org> | 2012-05-16 22:28:22 +0000 |
---|---|---|
committer | Andrew Stitcher <astitcher@apache.org> | 2012-05-16 22:28:22 +0000 |
commit | b554a07a420bdc581ba8f0fcaef5851cc2359393 (patch) | |
tree | db5cbf9a29b1b54a6408dae7ca737fa759b26199 /cpp/src/qpid/client/ConnectionHandler.cpp | |
parent | e48b6fa55c0c52f6da6163ade16e70ea3603a9f5 (diff) | |
download | qpid-python-b554a07a420bdc581ba8f0fcaef5851cc2359393.tar.gz |
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
Diffstat (limited to 'cpp/src/qpid/client/ConnectionHandler.cpp')
-rw-r--r-- | cpp/src/qpid/client/ConnectionHandler.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/qpid/client/ConnectionHandler.cpp b/cpp/src/qpid/client/ConnectionHandler.cpp index 94561f8079..91838d8e8b 100644 --- a/cpp/src/qpid/client/ConnectionHandler.cpp +++ b/cpp/src/qpid/client/ConnectionHandler.cpp @@ -258,7 +258,7 @@ void ConnectionHandler::start(const FieldTable& /*serverProps*/, const Array& me } if (sasl.get()) { - string response; + std::string response; if (sasl->start(join(mechlist), response, getSecuritySettings ? getSecuritySettings() : 0)) { proxy.startOk(properties, sasl->getMechanism(), response, locale); } else { @@ -272,7 +272,7 @@ void ConnectionHandler::start(const FieldTable& /*serverProps*/, const Array& me } } else { //TODO: verify that desired mechanism and locale are supported - string response = ((char)0) + username + ((char)0) + password; + std::string response = ((char)0) + username + ((char)0) + password; proxy.startOk(properties, mechanism, response, locale); } } @@ -280,7 +280,7 @@ void ConnectionHandler::start(const FieldTable& /*serverProps*/, const Array& me void ConnectionHandler::secure(const std::string& challenge) { if (sasl.get()) { - string response = sasl->step(challenge); + std::string response = sasl->step(challenge); proxy.secureOk(response); } else { throw NotImplementedException("Challenge-response cycle not yet implemented in client"); |