Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
loganwright committed Mar 3, 2017
1 parent 1ed9292 commit 660ab90
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions Sources/Node/Core/NodeInitializable.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,6 @@ public protocol NodeInitializable {
}

extension NodeInitializable {
public init<W: StructuredDataWrapper>(node: W) throws {
let node = Node(node.wrapped, in: node.context)
try self.init(node: node)
}

public init(node representable: NodeRepresentable?, in context: Context? = nil) throws {
let node = try representable?.makeNode(in: context) ?? Node(.null, in: context)
try self.init(node: node)
Expand Down

0 comments on commit 660ab90

Please sign in to comment.