Thrift-1233: Remove unused include in generated C++ code
authorJake Farrell <jfarrell@apache.org>
Thu, 14 Jul 2011 21:25:08 +0000 (21:25 +0000)
committerJake Farrell <jfarrell@apache.org>
Thu, 14 Jul 2011 21:25:08 +0000 (21:25 +0000)
Client: c++
Patch: Diwaker Gupta

Removing unused include of TTransportUtils.

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1146901 13f79535-47bb-0310-9956-ffa450edef68

compiler/cpp/src/generate/t_cpp_generator.cc

index d79b587..e8feb42 100644 (file)
@@ -1483,8 +1483,6 @@ void t_cpp_generator::generate_service(t_service* tservice) {
   if (gen_cob_style_) {
     f_header_ <<
       "#include <tr1/functional>" << endl <<
-      // TODO(dreiss): Libify the base client so we don't have to include this.
-      "#include <transport/TTransportUtils.h>" << endl <<
       "namespace apache { namespace thrift { namespace async {" << endl <<
       "class TAsyncChannel;" << endl <<
       "}}}" << endl;