Skip to content

Commit 5e244af

Browse files
1 fix due to missing package trait check
1 parent a9625e6 commit 5e244af

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

Benchmarks/Package.swift

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,7 @@ let package = Package(
1919
url: "https://github.com/RandomHashTags/destiny",
2020
branch: "main",
2121
traits: [
22-
"Copyable",
23-
"Inlinable",
24-
"MediaTypes"
22+
"Inlinable"
2523
]
2624
),
2725
.package(url: "https://github.com/vapor/vapor", exact: "4.117.0"),
Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11

2+
#if NonCopyable
3+
24
/// Core protocol that handles requests to static routes.
35
public protocol NonCopyableStaticRouteResponderProtocol: NonCopyableRouteResponderProtocol, ~Copyable {
46
}
57

68
// MARK: Default conformances
79
extension String: NonCopyableStaticRouteResponderProtocol {}
810
extension StaticString: NonCopyableStaticRouteResponderProtocol {}
9-
extension [UInt8]: NonCopyableStaticRouteResponderProtocol {}
11+
extension [UInt8]: NonCopyableStaticRouteResponderProtocol {}
12+
13+
#endif

0 commit comments

Comments
 (0)