diff --git a/procedural/timeline/src/main/kotlin/gov/nasa/ammos/aerie/procedural/timeline/util/duration/Duration.kt b/procedural/timeline/src/main/kotlin/gov/nasa/ammos/aerie/procedural/timeline/util/duration/Duration.kt index 29100d0952..6482323683 100644 --- a/procedural/timeline/src/main/kotlin/gov/nasa/ammos/aerie/procedural/timeline/util/duration/Duration.kt +++ b/procedural/timeline/src/main/kotlin/gov/nasa/ammos/aerie/procedural/timeline/util/duration/Duration.kt @@ -37,4 +37,4 @@ operator fun Instant.plus(duration: Duration): Instant = plusMillis(duration / M operator fun Instant.minus(other: Instant): Duration = microseconds(other.until(this, ChronoUnit.MICROS)) /** Subtracts a duration from an instant, to produce another instant. */ -operator fun Instant.minus(duration: Duration) = this.plus(-duration) +operator fun Instant.minus(duration: Duration): Instant = this.plus(-duration)