From b288050682c33761a96682c84f4e4edd4301e9d1 Mon Sep 17 00:00:00 2001 From: Roger Meier Date: Sun, 11 Sep 2011 09:09:52 +0000 Subject: [PATCH] uncomment handler parameter, so compile does not fail if they are undefined git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1167686 13f79535-47bb-0310-9956-ffa450edef68 --- compiler/cpp/src/generate/t_cpp_generator.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compiler/cpp/src/generate/t_cpp_generator.cc b/compiler/cpp/src/generate/t_cpp_generator.cc index cb4aa8b9..fb1d7b00 100755 --- a/compiler/cpp/src/generate/t_cpp_generator.cc +++ b/compiler/cpp/src/generate/t_cpp_generator.cc @@ -1758,7 +1758,7 @@ void t_cpp_generator::generate_service_interface_factory(t_service* tservice, "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_interface_factory(t_service* tservice, indent() << " return iface_.get();" << endl << indent() << "}" << endl << indent() << "virtual void releaseHandler(" << base_if_name << - "* handler) {}" << endl; + "* /* handler */) {}" << endl; f_header_ << endl << -- 2.17.1