mirror of
https://github.com/apple/swift-nio
synced 2026-11-27 05:04:22 +00:00
Motivation: In all contemporary Swift versions, the `class` and the `AnyObject` protocol restriction is the same. And `class` is deprecated which warns on newer Swift compilers. Modifications: Replace `class` with `AnyObject`. Result: No warnings on newer Swift compilers.