Skip to content

Commit

Permalink
Merge branch 'master' into pluginGenerator
Browse files Browse the repository at this point in the history
  • Loading branch information
nxtum authored Sep 23, 2024
2 parents 3f16ad4 + bc06142 commit 1a6aaf4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion JsonGenerator/source/json_loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -617,7 +617,7 @@ def cpp_name(self):
if self.is_renamed:
return super().cpp_name
elif isinstance(self.parent, JsonMethod):
return self.parent.actual_name.capitalize() + super().cpp_name
return self.parent.actual_name[0].upper() + self.parent.actual_name[1:] + super().cpp_name
elif isinstance(self.parent, JsonArray):
return self.parent.cpp_name
else:
Expand Down

0 comments on commit 1a6aaf4

Please sign in to comment.