Skip to content

Commit

Permalink
Modernise for Swift 5.4
Browse files Browse the repository at this point in the history
  • Loading branch information
mz2 committed Sep 6, 2021
1 parent 479c08b commit 273c0d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ let package = Package(
name: "Carpaccio",
dependencies: []
),
.target(name: "exifdump",
.executableTarget(name: "exifdump",
dependencies: ["Carpaccio"]),
.testTarget(
name: "CarpaccioTests",
Expand Down
2 changes: 1 addition & 1 deletion Sources/Carpaccio/Collection.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

import Foundation

public protocol ImageCollection: class {
public protocol ImageCollection: AnyObject {
var images: AnyCollection<Image> { get }
var imageCount: Int { get }
var imageURLs: AnyCollection<URL> { get }
Expand Down

0 comments on commit 273c0d5

Please sign in to comment.