Skip to content

Commit 497da57

Browse files
authored
Remove redundant branch. (#1909)
Both sides are the same. This seems to go back to 3019487 where we didn't catch that they two were now the same.
1 parent b2e8265 commit 497da57

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

Sources/SwiftProtobufPluginLibrary/Google_Protobuf_Edition+Extensions.swift

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,8 @@ import SwiftProtobuf
1717

1818
/// The spec for editions calls out them being ordered and comparable.
1919
/// https://github.com/protocolbuffers/protobuf/blob/main/docs/design/editions/edition-naming.md
20-
#if compiler(>=6)
2120
extension Google_Protobuf_Edition: Comparable {
2221
public static func < (lhs: Google_Protobuf_Edition, rhs: Google_Protobuf_Edition) -> Bool {
2322
lhs.rawValue < rhs.rawValue
2423
}
2524
}
26-
#else
27-
extension Google_Protobuf_Edition: Comparable {
28-
public static func < (lhs: Google_Protobuf_Edition, rhs: Google_Protobuf_Edition) -> Bool {
29-
lhs.rawValue < rhs.rawValue
30-
}
31-
}
32-
#endif

0 commit comments

Comments
 (0)