diff --git a/Sources/SwiftProtobufPluginLibrary/Google_Protobuf_Edition+Extensions.swift b/Sources/SwiftProtobufPluginLibrary/Google_Protobuf_Edition+Extensions.swift index 965db6ef1..ec4e5194b 100644 --- a/Sources/SwiftProtobufPluginLibrary/Google_Protobuf_Edition+Extensions.swift +++ b/Sources/SwiftProtobufPluginLibrary/Google_Protobuf_Edition+Extensions.swift @@ -17,16 +17,8 @@ import SwiftProtobuf /// The spec for editions calls out them being ordered and comparable. /// https://github.com/protocolbuffers/protobuf/blob/main/docs/design/editions/edition-naming.md -#if compiler(>=6) extension Google_Protobuf_Edition: Comparable { public static func < (lhs: Google_Protobuf_Edition, rhs: Google_Protobuf_Edition) -> Bool { lhs.rawValue < rhs.rawValue } } -#else -extension Google_Protobuf_Edition: Comparable { - public static func < (lhs: Google_Protobuf_Edition, rhs: Google_Protobuf_Edition) -> Bool { - lhs.rawValue < rhs.rawValue - } -} -#endif