Skip to content

Commit

Permalink
Fix characters deprecation
Browse files Browse the repository at this point in the history
Fixes #163
  • Loading branch information
drmohundro committed Nov 6, 2017
1 parent d54bf34 commit c320f1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/SWXMLHash+TypeConversion.swift
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ extension XMLElement {
*/
internal func nonEmptyTextOrThrow() throws -> String {
let textVal = text
if !textVal.characters.isEmpty {
if !textVal.isEmpty {
return textVal
}

Expand Down

0 comments on commit c320f1d

Please sign in to comment.