PerfectlySoft / Perfect-HTTP

Base HTTP Support for Perfect.
https://www.perfect.org
Apache License 2.0
31 stars 34 forks source link

Remove warnings if on Swift 4.2 or higher #32

Closed 123FLO321 closed 5 years ago

123FLO321 commented 5 years ago
kjessup commented 5 years ago

From what I see this doesn't actually get rid of the warnings since the code is still being compiled in 4.1 mode (which doesn't know about Hasher), yet is using the 5.0 compiler (which complains about not using Hasher). I had a similar fix in previously but reverted it.

I'll leave this change in though so that it doesn't just keep getting applied :)

Thank you!