fix for OCaml 5.1: use a generative functor for CCBitfield

This commit is contained in:
Simon Cruanes 2023-06-06 10:25:46 -04:00
parent b72fac90c7
commit e6afa76eaf
No known key found for this signature in database
GPG key ID: EBFFF6F283F3A2B4
2 changed files with 2 additions and 2 deletions

View file

@ -49,7 +49,7 @@ let get_then_incr n =
incr n; incr n;
x x
module Make (X : sig end) : S = struct module Make () : S = struct
type t = int type t = int
let empty = 0 let empty = 0

View file

@ -59,8 +59,8 @@ module type S = sig
(** Current width of the bitfield. *) (** Current width of the bitfield. *)
end end
module Make () : S
(** Create a new bitfield type *) (** Create a new bitfield type *)
module Make : functor (_ : sig end) -> S
(**/**) (**/**)