mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2025-12-05 19:00:31 -05:00
fix for OCaml 5.1: use a generative functor for CCBitfield
This commit is contained in:
parent
b72fac90c7
commit
e6afa76eaf
2 changed files with 2 additions and 2 deletions
|
|
@ -49,7 +49,7 @@ let get_then_incr n =
|
|||
incr n;
|
||||
x
|
||||
|
||||
module Make (X : sig end) : S = struct
|
||||
module Make () : S = struct
|
||||
type t = int
|
||||
|
||||
let empty = 0
|
||||
|
|
|
|||
|
|
@ -59,8 +59,8 @@ module type S = sig
|
|||
(** Current width of the bitfield. *)
|
||||
end
|
||||
|
||||
module Make () : S
|
||||
(** Create a new bitfield type *)
|
||||
module Make : functor (_ : sig end) -> S
|
||||
|
||||
(**/**)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue