Skip to content

Commit

Permalink
Minor refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
bocchino authored Jan 6, 2023
1 parent 410f145 commit dd67c66
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,10 @@ object CppDocHppWriter extends CppDocWriter {

def paramStringComma(p: CppDoc.Function.Param): String = {
val s1 = CppDocCppWriter.paramString(p)
val s2 = s"${addParamDefault(s1, p.default)},"
val s3 = addParamComment(s2, p.comment)
s3
val s2 = addParamDefault(s1, p.default)
val s3 = s"$s2,"
val s4 = addParamComment(s3, p.comment)
s4
}

def writeAccessTag(tag: String): List[Line] = List(
Expand Down

0 comments on commit dd67c66

Please sign in to comment.