summaryrefslogtreecommitdiffhomepage
path: root/ios/MullvadLogging/LogFileOutputStream.swift
diff options
context:
space:
mode:
authorBug Magnet <marco.nikic@mullvad.net>2024-12-04 14:43:23 +0100
committerBug Magnet <marco.nikic@mullvad.net>2025-01-14 10:18:06 +0100
commitd1cf679456f87b2f93b150c67a76fa20e31d7643 (patch)
tree6ae6911848db62013e09939488a54fd98bad81b4 /ios/MullvadLogging/LogFileOutputStream.swift
parentd2949b4a0b1d3d86a25de1569dc8308c9d7fe237 (diff)
downloadmullvadvpn-d1cf679456f87b2f93b150c67a76fa20e31d7643.tar.xz
mullvadvpn-d1cf679456f87b2f93b150c67a76fa20e31d7643.zip
Enable compilation with Swift 6 for most targets
Diffstat (limited to 'ios/MullvadLogging/LogFileOutputStream.swift')
-rw-r--r--ios/MullvadLogging/LogFileOutputStream.swift2
1 files changed, 1 insertions, 1 deletions
diff --git a/ios/MullvadLogging/LogFileOutputStream.swift b/ios/MullvadLogging/LogFileOutputStream.swift
index 7f4eec3a0b..6d63d43b77 100644
--- a/ios/MullvadLogging/LogFileOutputStream.swift
+++ b/ios/MullvadLogging/LogFileOutputStream.swift
@@ -13,7 +13,7 @@ import MullvadTypes
/// the first place, or when writing to it.
private let reopenFileLogInterval: Duration = .seconds(5)
-class LogFileOutputStream: TextOutputStream {
+class LogFileOutputStream: TextOutputStream, @unchecked Sendable {
private let queue = DispatchQueue(label: "LogFileOutputStreamQueue", qos: .utility)
private let baseFileURL: URL