Skip to content

Commit

Permalink
Add Identifiable conformance
Browse files Browse the repository at this point in the history
  • Loading branch information
colemancda committed Nov 15, 2024
1 parent 13bd4d1 commit 198bf60
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Sources/DarwinGATT/DarwinCentral.swift
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ public extension DarwinCentral {
/// Central Peer
///
/// Represents a remote central device that has connected to an app implementing the peripheral role on a local device.
struct Peripheral: Peer {
struct Peripheral: Peer, Sendable, Identifiable, Equatable, Hashable {

public let id: UUID

Expand Down
2 changes: 1 addition & 1 deletion Sources/DarwinGATT/DarwinPeripheral.swift
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ public extension DarwinPeripheral {
/// Peripheral Peer
///
/// Represents a remote peripheral device that has been discovered.
struct Central: Peer {
struct Central: Peer, Identifiable, Equatable, Hashable {

public let id: UUID

Expand Down

0 comments on commit 198bf60

Please sign in to comment.