You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by ro...@apache.org on 2011/09/11 11:09:52 UTC
svn commit: r1167686 -
/thrift/trunk/compiler/cpp/src/generate/t_cpp_generator.cc
Author: roger
Date: Sun Sep 11 09:09:52 2011
New Revision: 1167686
URL: http://svn.apache.org/viewvc?rev=1167686&view=rev
Log:
uncomment handler parameter, so compile does not fail if they
are undefined
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=1167686&r1=1167685&r2=1167686&view=diff
==============================================================================
--- thrift/trunk/compiler/cpp/src/generate/t_cpp_generator.cc (original)
+++ thrift/trunk/compiler/cpp/src/generate/t_cpp_generator.cc Sun Sep 11 09:09:52 2011
@@ -1758,7 +1758,7 @@ void t_cpp_generator::generate_service_i
"const ::apache::thrift::TConnectionInfo& connInfo) = 0;" <<
endl <<
indent() << "virtual void releaseHandler(" << base_if_name <<
- "* handler) = 0;" << endl;
+ "* /* handler */) = 0;" << endl;
indent_down();
f_header_ <<
@@ -1781,7 +1781,7 @@ void t_cpp_generator::generate_service_i
indent() << " return iface_.get();" << endl <<
indent() << "}" << endl <<
indent() << "virtual void releaseHandler(" << base_if_name <<
- "* handler) {}" << endl;
+ "* /* handler */) {}" << endl;
f_header_ <<
endl <<