Skip to content

Commit

Permalink
Prevent dynamic dispatch from being used on toHexString()
Browse files Browse the repository at this point in the history
  • Loading branch information
frederoni committed Jun 9, 2017
1 parent 9322631 commit 880c10d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MapboxStatic/Color.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#endif

internal extension Color {
internal func toHexString() -> String {
@nonobjc func toHexString() -> String {
var r: CGFloat = 0
var g: CGFloat = 0
var b: CGFloat = 0
Expand Down

0 comments on commit 880c10d

Please sign in to comment.