Skip to content

Commit

Permalink
Update cpp/src/slice2java/GenCompat.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Austin Henriksen <[email protected]>
  • Loading branch information
externl and InsertCreativityHere authored Oct 9, 2023
1 parent cfed163 commit 143d504
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/src/slice2java/GenCompat.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ writeParamList(Output& out, vector<string> params, bool end = true, bool newLine
}

// Returns the "length" of the constructor parameter list from the given data member list.
// All types are counted as 1, except for long and double which are counted as 2.
// All types are counted as 1 unit, except for long and double which are counted as 2 units.
// See https://docs.oracle.com/javase/specs/jvms/se20/html/jvms-4.html#jvms-4.3.3
int
constructorParameterLength(const DataMemberList& members)
Expand Down

0 comments on commit 143d504

Please sign in to comment.