Skip to content

Commit

Permalink
Fix the compilation on 5.2.0~alpha1 about our inlined attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
dinosaure committed Apr 13, 2024
1 parent 86e8113 commit 07f031e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/progress/engine/duration.ml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ type nonrec t = t

let equal = Mtime.Span.equal
let compare = Mtime.Span.compare
let compare_zero (f : int -> int -> _) a b = f (compare a b) 0 [@@inlined]
let[@inline always] compare_zero (f : int -> int -> _) a b = f (compare a b) 0
let ( + ) = Mtime.Span.add
let ( < ) = compare_zero ( < )
let ( <= ) = compare_zero ( <= )
Expand Down

0 comments on commit 07f031e

Please sign in to comment.