Skip to content

Commit ef659ae

Browse files
authored
Eliminate backing field on Buffer.buffer (#366)
1 parent 8a8d1d5 commit ef659ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/common/src/Buffer.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public class Buffer : Source, Sink {
6464
* Returns the buffer itself.
6565
*/
6666
@InternalIoApi
67-
override val buffer: Buffer = this
67+
override val buffer: Buffer get() = this
6868
override fun exhausted(): Boolean = size == 0L
6969

7070
override fun require(byteCount: Long) {

0 commit comments

Comments
 (0)