commit | 5ee76f8d7dc8611b58513ac80335eb20fbf62c6b | [log] [tgz] |
---|---|---|
author | Mark Slee <mcslee@apache.org> | Thu Oct 26 18:15:02 2006 +0000 |
committer | Mark Slee <mcslee@apache.org> | Thu Oct 26 18:15:02 2006 +0000 |
tree | 9e99de2b3c15a801c636198556fe564d31d6cd89 | |
parent | 63608e8017896253c9d3c11854437602e046906d [diff] |
Skeletons should use virtual inheritance from the interface base git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@664856 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/compiler/cpp/src/generate/t_cpp_generator.cc b/compiler/cpp/src/generate/t_cpp_generator.cc index c59112c..edf711a 100644 --- a/compiler/cpp/src/generate/t_cpp_generator.cc +++ b/compiler/cpp/src/generate/t_cpp_generator.cc
@@ -1210,7 +1210,7 @@ } f_skeleton << - "class " << svcname << "Handler : public " << svcname << "If {" << endl << + "class " << svcname << "Handler : virtual public " << svcname << "If {" << endl << " public:" << endl; indent_up(); f_skeleton <<