diff options
author | Gordon Sim <gsim@apache.org> | 2012-08-28 13:16:59 +0000 |
---|---|---|
committer | Gordon Sim <gsim@apache.org> | 2012-08-28 13:16:59 +0000 |
commit | dec18f715560868ecd7e00dffffef81f9da9cbce (patch) | |
tree | 66d49528b04a2864ac12f01c632f85472c8e6ccf /cpp/src/qpid/client/TCPConnector.h | |
parent | d7c20825dd04b62a26ed49c9a85b3ea5f51c0b49 (diff) | |
download | qpid-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/client/TCPConnector.h')
-rw-r--r-- | cpp/src/qpid/client/TCPConnector.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/client/TCPConnector.h b/cpp/src/qpid/client/TCPConnector.h index c0bc26028d..5e1a3856e6 100644 --- a/cpp/src/qpid/client/TCPConnector.h +++ b/cpp/src/qpid/client/TCPConnector.h @@ -90,7 +90,7 @@ class TCPConnector : public Connector, public sys::Codec const qpid::sys::SecuritySettings* getSecuritySettings() { return 0; } size_t decode(const char* buffer, size_t size); - size_t encode(const char* buffer, size_t size); + size_t encode(char* buffer, size_t size); bool canEncode(); protected: |