Code Review
/
common
/
thrift.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
fd62df7
)
THRIFT-2417: Make union types partial classes
author
Jake Luciani
<jake@apache.org>
Thu, 20 Mar 2014 14:30:43 +0000
(10:30 -0400)
committer
Jake Luciani
<jake@apache.org>
Thu, 20 Mar 2014 14:30:43 +0000
(10:30 -0400)
Patch by Jake Luciani, Reviewed by Jake Farrell
compiler/cpp/src/generate/t_csharp_generator.cc
patch
|
blob
|
history
diff --git
a/compiler/cpp/src/generate/t_csharp_generator.cc
b/compiler/cpp/src/generate/t_csharp_generator.cc
index
d9659e4
..
5d6fb16
100644
(file)
--- 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();