Repository: thrift Updated Branches: refs/heads/master fd62df75f -> 2bf90780d
THRIFT-2417: Make union types partial classes Patch by Jake Luciani, Reviewed by Jake Farrell Project: http://git-wip-us.apache.org/repos/asf/thrift/repo Commit: http://git-wip-us.apache.org/repos/asf/thrift/commit/2bf90780 Tree: http://git-wip-us.apache.org/repos/asf/thrift/tree/2bf90780 Diff: http://git-wip-us.apache.org/repos/asf/thrift/diff/2bf90780 Branch: refs/heads/master Commit: 2bf90780d451ca9c6f7a0e2082009a5f409932af Parents: fd62df7 Author: Jake Luciani <j...@apache.org> Authored: Thu Mar 20 10:30:43 2014 -0400 Committer: Jake Luciani <j...@apache.org> Committed: Thu Mar 20 10:30:43 2014 -0400 ---------------------------------------------------------------------- compiler/cpp/src/generate/t_csharp_generator.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/thrift/blob/2bf90780/compiler/cpp/src/generate/t_csharp_generator.cc ---------------------------------------------------------------------- diff --git a/compiler/cpp/src/generate/t_csharp_generator.cc b/compiler/cpp/src/generate/t_csharp_generator.cc index d9659e4..5d6fb16 100644 --- a/compiler/cpp/src/generate/t_csharp_generator.cc +++ b/compiler/cpp/src/generate/t_csharp_generator.cc @@ -1054,7 +1054,7 @@ void t_csharp_generator::generate_csharp_union_definition(std::ofstream& out, t_ // Let's define the class first start_csharp_namespace(out); - indent(out) << "public abstract class " << tunion->get_name() << " : TAbstractBase {" << endl; + indent(out) << "public abstract partial class " << tunion->get_name() << " : TAbstractBase {" << endl; indent_up();