mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2025-12-06 03:05:28 -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;
|
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
|
||||||
|
|
|
||||||
|
|
@ -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
|
|
||||||
|
|
||||||
(**/**)
|
(**/**)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue