Skip to content

Commit e764dd6

Browse files
committed
OSCBundle: timeTag and elements properties are now mutable
1 parent 11f6a04 commit e764dd6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/OSCKitCore/OSCBundle/OSCBundle.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ public struct OSCBundle: OSCObject {
1818

1919
/// Time tag.
2020
/// Default value 1: means "immediate" in OSC spec.
21-
public let timeTag: OSCTimeTag
21+
public var timeTag: OSCTimeTag
2222

2323
/// Elements contained within the bundle. These can be ``OSCBundle`` or ``OSCMessage``
2424
/// instances.
25-
public let elements: [any OSCObject]
25+
public var elements: [any OSCObject]
2626

2727
@usableFromInline
2828
let _rawData: Data?

0 commit comments

Comments
 (0)