Skip to content

Commit 03ebb4c

Browse files
committed
VTDemo: add a polyfill for SendableMetatype
This allows compatibility with Swift 6.1.
1 parent b5bac75 commit 03ebb4c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Sources/VTDemo/VTDemo.swift

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ extension VTBuffer {
1515
}
1616
}
1717

18+
#if swift(<6.2)
19+
private protocol SendableMetatype: ~Copyable, ~Escapable {
20+
}
21+
#endif
22+
1823
// MARK: - Scene
1924

2025
private protocol Scene: SendableMetatype {

0 commit comments

Comments
 (0)