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/sys/Codec.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/sys/Codec.h')
-rw-r--r-- | cpp/src/qpid/sys/Codec.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/sys/Codec.h b/cpp/src/qpid/sys/Codec.h index ace721fbcc..e398403e47 100644 --- a/cpp/src/qpid/sys/Codec.h +++ b/cpp/src/qpid/sys/Codec.h @@ -42,7 +42,7 @@ class Codec /** Encode into buffer, return number of bytes encoded */ - virtual std::size_t encode(const char* buffer, std::size_t size) = 0; + virtual std::size_t encode(char* buffer, std::size_t size) = 0; /** Return true if we have data to encode */ virtual bool canEncode() = 0; |