Skip to content

Commit b5bac75

Browse files
committed
VTDemo: silence a warning (NFCI)
Conform `Scene` to `SendableMetatype` to avoid the warning: ``` Stored property 'scene' of 'Sendable'-conforming struct 'Option' has non-Sendable type 'any Scene.Type' ```
1 parent e0b129a commit b5bac75

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Sources/VTDemo/VTDemo.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ extension VTBuffer {
1717

1818
// MARK: - Scene
1919

20-
private protocol Scene {
20+
private protocol Scene: SendableMetatype {
2121
static var name: String { get }
2222
static var description: String { get }
2323

0 commit comments

Comments
 (0)