You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by jf...@apache.org on 2011/07/14 23:25:09 UTC
svn commit: r1146901 -
/thrift/trunk/compiler/cpp/src/generate/t_cpp_generator.cc
Author: jfarrell
Date: Thu Jul 14 21:25:08 2011
New Revision: 1146901
URL: http://svn.apache.org/viewvc?rev=1146901&view=rev
Log:
Thrift-1233: Remove unused include in generated C++ code
Client: c++
Patch: Diwaker Gupta
Removing unused include of TTransportUtils.
Modified:
thrift/trunk/compiler/cpp/src/generate/t_cpp_generator.cc
Modified: thrift/trunk/compiler/cpp/src/generate/t_cpp_generator.cc
URL: http://svn.apache.org/viewvc/thrift/trunk/compiler/cpp/src/generate/t_cpp_generator.cc?rev=1146901&r1=1146900&r2=1146901&view=diff
==============================================================================
--- thrift/trunk/compiler/cpp/src/generate/t_cpp_generator.cc (original)
+++ thrift/trunk/compiler/cpp/src/generate/t_cpp_generator.cc Thu Jul 14 21:25:08 2011
@@ -1483,8 +1483,6 @@ void t_cpp_generator::generate_service(t
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;