Skip to content

Commit

Permalink
Change __FUNCTION__ to #function to meet Swift 3 standards
Browse files Browse the repository at this point in the history
  • Loading branch information
tasanobu committed Mar 28, 2016
1 parent 670e4d9 commit b9ff6bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion misen.swift
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ extension NSFileManager {
}
}
catch {
print("\n[Error] An error occurred in \(__FUNCTION__).\n\t error: \(error)\n")
print("\n[Error] An error occurred in \(#function).\n\t error: \(error)\n")
}
return nil
}
Expand Down

0 comments on commit b9ff6bb

Please sign in to comment.