Skip to content

Commit

Permalink
🚑️ Fix build 2
Browse files Browse the repository at this point in the history
  • Loading branch information
vinceglb committed Sep 2, 2024
1 parent 2f844b3 commit 7765720
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public actual class PlatformInputStream (private val inputStream: InputStream) :
inputStream.read(buffer, 0, maxBytes)
}

override fun close() {
actual override fun close() {
inputStream.close()
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public actual class PlatformInputStream(private val nsInputStream: NSInputStream
}
}

override fun close() {
actual override fun close() {
nsInputStream.close()
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public actual class PlatformInputStream : AutoCloseable {
throw IllegalStateException("JS does not support InputStreams")
}

override fun close() {
actual override fun close() {
throw IllegalStateException("JS does not support InputStreams")
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public actual class PlatformInputStream(private val inputStream: InputStream) :
inputStream.read(buffer, 0, maxBytes)
}

override fun close() {
actual override fun close() {
inputStream.close()
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public actual class PlatformInputStream : AutoCloseable {
throw IllegalStateException("Wasm does not support InputStreams")
}

override fun close() {
actual override fun close() {
throw IllegalStateException("Wasm does not support InputStreams")
}
}

0 comments on commit 7765720

Please sign in to comment.