Bugfix: Double '{' with --private option
This commit is contained in:
parent
d1c54feaff
commit
f2454ce896
1 changed files with 2 additions and 2 deletions
|
@ -140,10 +140,10 @@ namespace cscz
|
|||
|
||||
// Public property associated with above private data member
|
||||
properties.WriteLine("\tpublic {0} {1}", datatypeName, publicDataMemberName);
|
||||
properties.WriteLine("\t{{");
|
||||
properties.WriteLine("\t{");
|
||||
properties.WriteLine("\t\tget {{ return {0}; }}", privateDataMemberName);
|
||||
properties.WriteLine("\t\tset {{ {0} = value; }}", privateDataMemberName);
|
||||
properties.WriteLine("\t}}");
|
||||
properties.WriteLine("\t}");
|
||||
|
||||
// Constructor body
|
||||
constructorBody.WriteLine("\t\t{0} = in{0};", publicDataMemberName);
|
||||
|
|
Loading…
Reference in a new issue