Skip to content

Commit

Permalink
Remove unnecessary code now
Browse files Browse the repository at this point in the history
  • Loading branch information
migueldeicaza committed Oct 10, 2023
1 parent b657cef commit ce3fff5
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions Generator/Generator/ClassGen.swift
Original file line number Diff line number Diff line change
Expand Up @@ -644,9 +644,6 @@ func processClass (cdef: JGodotExtensionAPIClass, outputDir: String?) async {
p ("/// Ths initializer is invoked by derived classes as they chain through their most derived type name that our framework produced")
p ("internal override init (name: StringName)") {
p("super.init (name: name)")
if (cdef.name == "RefCounted") {
p ("_ = reference ()")
}
}

let fastInitOverrides = cdef.inherits != nil ? "override " : ""
Expand Down

0 comments on commit ce3fff5

Please sign in to comment.