Skip to content

Commit

Permalink
THRIFT-992 add underline for fields
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1033715 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
bufferoverflow committed Nov 10, 2010
1 parent 77215d8 commit be87ab2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/cpp/src/generate/t_csharp_generator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ void t_csharp_generator::generate_csharp_struct_definition(ofstream &out, t_stru
t = ((t_typedef*)t)->get_type();
}
if ((*m_iter)->get_value() != NULL) {
print_const_value(out, "this." + (*m_iter)->get_name(), t, (*m_iter)->get_value(), true, true);
print_const_value(out, "this._" + (*m_iter)->get_name(), t, (*m_iter)->get_value(), true, true);
}
}

Expand Down

0 comments on commit be87ab2

Please sign in to comment.