diff --git a/src/main/kotlin/com/liteldev/headeroutput/entity/ClassType.kt b/src/main/kotlin/com/liteldev/headeroutput/entity/ClassType.kt index 44e589a..7d70e7d 100644 --- a/src/main/kotlin/com/liteldev/headeroutput/entity/ClassType.kt +++ b/src/main/kotlin/com/liteldev/headeroutput/entity/ClassType.kt @@ -221,7 +221,7 @@ open class ClassType( if (protectedVariables.isEmpty()) { return "" } - appendLine("protected:") + appendLine(" // protected:") appendLine(" // NOLINTBEGIN") protectedVariables.let(::generateMembers).let(::append) appendLine(" // NOLINTEND") @@ -246,7 +246,7 @@ open class ClassType( if (privateVariables.isEmpty()) { return "" } - appendLine("private:") + appendLine(" // private:") appendLine(" // NOLINTBEGIN") privateVariables.let(::generateMembers).let(::append) appendLine(" // NOLINTEND")