Skip to content

Commit

Permalink
Remove inlinable to avoid compile errors
Browse files Browse the repository at this point in the history
  • Loading branch information
kp-cat committed Oct 17, 2024
1 parent bc9db42 commit 4695ba8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Sources/Version/Version.swift
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ public struct Version {
- Note: Integers are made absolute since negative integers are not allowed, yet it is conventional Swift to take `Int` over `UInt` where possible.
- Remark: This initializer variant provided for more readable code when initializing with static integers.
*/
@inlinable
public init(_ major: Int, _ minor: Int, _ patch: Int, pre: [String] = [], build: [String] = []) {
self.major = abs(major)
self.minor = abs(minor)
Expand All @@ -56,7 +55,6 @@ public struct Version {
- Note: Integers are made absolute since negative integers are not allowed, yet it is conventional Swift to take `Int` over `UInt` where possible.
- Remark: This initializer variant provided when it would be more readable than the nameless variant.
*/
@inlinable
public init(major: Int, minor: Int, patch: Int, prereleaseIdentifiers: [String] = [], buildMetadataIdentifiers: [String] = []) {
self.init(major, minor, patch, pre: prereleaseIdentifiers, build: buildMetadataIdentifiers)
}
Expand Down

0 comments on commit 4695ba8

Please sign in to comment.