summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/broker/SecureConnection.cpp
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2012-08-28 13:16:59 +0000
committerGordon Sim <gsim@apache.org>2012-08-28 13:16:59 +0000
commitdec18f715560868ecd7e00dffffef81f9da9cbce (patch)
tree66d49528b04a2864ac12f01c632f85472c8e6ccf /cpp/src/qpid/broker/SecureConnection.cpp
parentd7c20825dd04b62a26ed49c9a85b3ea5f51c0b49 (diff)
downloadqpid-python-dec18f715560868ecd7e00dffffef81f9da9cbce.tar.gz
NO-JIRA: Remove const qualifier from encode buffer (can't encode into if it is const, and impls const cast it anyway)
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1378125 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/broker/SecureConnection.cpp')
-rw-r--r--cpp/src/qpid/broker/SecureConnection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/broker/SecureConnection.cpp b/cpp/src/qpid/broker/SecureConnection.cpp
index 5c1ebf3e8b..59ac9ef132 100644
--- a/cpp/src/qpid/broker/SecureConnection.cpp
+++ b/cpp/src/qpid/broker/SecureConnection.cpp
@@ -43,7 +43,7 @@ size_t SecureConnection::decode(const char* buffer, size_t size)
}
}
-size_t SecureConnection::encode(const char* buffer, size_t size)
+size_t SecureConnection::encode(char* buffer, size_t size)
{
if (secured) {
return securityLayer->encode(buffer, size);