Author: roger Date: Thu Jul 28 18:49:39 2011 New Revision: 1151967 URL: http://svn.apache.org/viewvc?rev=1151967&view=rev Log: THRIFT-1233 Remove unused include in generated C++ code Note: revert patch and include transport/TBufferTransports.h Patch: Alexandre Parenteau
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=1151967&r1=1151966&r2=1151967&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 28 18:49:39 2011 @@ -1482,6 +1482,7 @@ void t_cpp_generator::generate_service(t endl; if (gen_cob_style_) { f_header_ << + "#include <transport/TBufferTransports.h>" << endl << // TMemoryBuffer "#include <tr1/functional>" << endl << "namespace apache { namespace thrift { namespace async {" << endl << "class TAsyncChannel;" << endl <<