You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ac...@apache.org on 2012/07/03 22:54:26 UTC

svn commit: r1356936 - /qpid/trunk/qpid/cpp/src/qpid/cluster/UpdateClient.cpp

Author: aconway
Date: Tue Jul  3 20:54:25 2012
New Revision: 1356936

URL: http://svn.apache.org/viewvc?rev=1356936&view=rev
Log:
NO-JIRA: Removed dead code.

Modified:
    qpid/trunk/qpid/cpp/src/qpid/cluster/UpdateClient.cpp

Modified: qpid/trunk/qpid/cpp/src/qpid/cluster/UpdateClient.cpp
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/qpid/cluster/UpdateClient.cpp?rev=1356936&r1=1356935&r2=1356936&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/qpid/cluster/UpdateClient.cpp (original)
+++ qpid/trunk/qpid/cpp/src/qpid/cluster/UpdateClient.cpp Tue Jul  3 20:54:25 2012
@@ -228,14 +228,6 @@ template <class T> std::string encode(co
     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
 
 



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org