Skip to content

Commit

Permalink
Fix build on Xcode 10.2 beta
Browse files Browse the repository at this point in the history
  • Loading branch information
tualatrix authored and cezheng committed Feb 9, 2019
1 parent 5b77873 commit b267862
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/NodeSet.swift
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ open class NodeSet: Collection {
- returns: the idx'th node, nil if out of range
*/
open subscript(_ idx: Index) -> XMLElement {
_precondition(idx >= startIndex && idx < endIndex, "Index of out bound")
precondition(idx >= startIndex && idx < endIndex, "Index of out bound")
return XMLElement(cNode: (cNodeSet!.pointee.nodeTab[idx])!, document: document)
}

Expand Down

0 comments on commit b267862

Please sign in to comment.