Deprecate AbstractDoubleTimeSource

There are too few usages of it, and it can be mostly replaced with AbstractLongTimeSource.
This commit is contained in:
Ilya Gorbunov
2022-09-16 22:46:27 +02:00
committed by Space
parent 57c9d61291
commit e35ace5d3a
4 changed files with 5 additions and 0 deletions
@@ -184,6 +184,7 @@ class TimeMarkTest {
override fun read(): Long = reading
}
@Suppress("DEPRECATION")
private class DoubleTimeSource(unit: DurationUnit) : AbstractDoubleTimeSource(unit) {
var reading: Double = 0.0
override fun read(): Double = reading