Skip to content

Commit

Permalink
Removed Linux NS naming difference
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Morris authored and Andrew Morris committed Apr 24, 2017
1 parent 63fd53a commit 5b0be5c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
4 changes: 1 addition & 3 deletions Source/Options.swift
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,7 @@ public struct Options: _OptionSet {

}

#if os(Linux)
typealias _RegularExpressionOptions = RegularExpression.Options
#elseif swift(>=3.0)
#if swift(>=3.0)
typealias _RegularExpressionOptions = NSRegularExpression.Options
#else
typealias _RegularExpressionOptions = NSRegularExpressionOptions
Expand Down
4 changes: 0 additions & 4 deletions Source/Regex.swift
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
#if os(Linux)
typealias NSRegularExpression = RegularExpression
#endif

public struct Regex: CustomStringConvertible, CustomDebugStringConvertible {

// MARK: Initialisation
Expand Down

0 comments on commit 5b0be5c

Please sign in to comment.