diff options
| author | Alan Conway <aconway@apache.org> | 2012-07-03 20:54:25 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2012-07-03 20:54:25 +0000 |
| commit | 860008a1548841b8db7a08d9ab69694d62fbe411 (patch) | |
| tree | 690dff051b3f7cfbe2c65047942eb298af522a28 | |
| parent | e323273cde4f0edf4d707ee48ac43fb41a4ae3c1 (diff) | |
| download | qpid-python-860008a1548841b8db7a08d9ab69694d62fbe411.tar.gz | |
NO-JIRA: Removed dead code.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1356936 13f79535-47bb-0310-9956-ffa450edef68
| -rw-r--r-- | cpp/src/qpid/cluster/UpdateClient.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/cpp/src/qpid/cluster/UpdateClient.cpp b/cpp/src/qpid/cluster/UpdateClient.cpp index 53818aed85..a1ec227de7 100644 --- a/cpp/src/qpid/cluster/UpdateClient.cpp +++ b/cpp/src/qpid/cluster/UpdateClient.cpp @@ -228,14 +228,6 @@ template <class T> std::string encode(const T& t) { t.encode(buf); return encoded; } - -template <class T> std::string encode(const T& t, bool encodeKind) { - std::string encoded; - encoded.resize(t.encodedSize()); - framing::Buffer buf(const_cast<char*>(encoded.data()), encoded.size()); - t.encode(buf, encodeKind); - return encoded; -} } // namespace |
