From 860008a1548841b8db7a08d9ab69694d62fbe411 Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Tue, 3 Jul 2012 20:54:25 +0000 Subject: NO-JIRA: Removed dead code. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1356936 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/cluster/UpdateClient.cpp | 8 -------- 1 file changed, 8 deletions(-) (limited to 'cpp/src') 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 std::string encode(const T& t) { t.encode(buf); return encoded; } - -template std::string encode(const T& t, bool encodeKind) { - std::string encoded; - encoded.resize(t.encodedSize()); - framing::Buffer buf(const_cast(encoded.data()), encoded.size()); - t.encode(buf, encodeKind); - return encoded; -} } // namespace -- cgit v1.2.1