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 | e2c7f5dd434bb2c2a1adf3f260c4e3860221bc96 (patch) | |
| tree | a8eb481ec5f95d2d3c302873d64477ff103ea362 | |
| parent | 3734d4f17157305f78c47762faeecadcd5592621 (diff) | |
| download | qpid-python-e2c7f5dd434bb2c2a1adf3f260c4e3860221bc96.tar.gz | |
NO-JIRA: Removed dead code.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1356936 13f79535-47bb-0310-9956-ffa450edef68
| -rw-r--r-- | qpid/cpp/src/qpid/cluster/UpdateClient.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/qpid/cpp/src/qpid/cluster/UpdateClient.cpp b/qpid/cpp/src/qpid/cluster/UpdateClient.cpp index 53818aed85..a1ec227de7 100644 --- a/qpid/cpp/src/qpid/cluster/UpdateClient.cpp +++ b/qpid/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 |
