Skip to content

Commit

Permalink
uuidm: use Uuidm.v, in >>= 0.9.6
Browse files Browse the repository at this point in the history
Signed-off-by: David Scott <dave@recoil.org>
  • Loading branch information
djs55 committed Jun 19, 2022
1 parent 210eaaa commit 63cca10
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion vhd-format.opam
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ depends: [
"cstruct" {>= "1.9" & < "6.0.0"}
"io-page"
"rresult" {>= "0.3.0"}
"uuidm"
"uuidm" {>= "0.9.6"}
"stdlib-shims"
"dune" {>= "1.0"}
"ppx_cstruct" {build & >= "3.0.0"}
Expand Down
6 changes: 3 additions & 3 deletions vhd_format/f.ml
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ module Footer = struct
?(creator_host_os = Host_OS.Other 0l)
~current_size ?original_size
~disk_type
?(uid = Uuidm.create `V4) ?(saved_state = false) () =
?(uid = Uuidm.v `V4) ?(saved_state = false) () =
let original_size = match original_size with
| None -> current_size
| Some x -> x in
Expand Down Expand Up @@ -1672,7 +1672,7 @@ module From_file = functor(F: S.FILE) -> struct
return t

let create_dynamic ~filename ~size
?(uuid = Uuidm.create `V4)
?(uuid = Uuidm.v `V4)
?(saved_state=false)
?(features=[]) () =

Expand Down Expand Up @@ -1723,7 +1723,7 @@ module From_file = functor(F: S.FILE) -> struct

let create_difference ~filename ~parent
?(relative_path = true)
?(uuid=Uuidm.create `V4)
?(uuid=Uuidm.v `V4)
?(saved_state=false)
?(features=[]) () =

Expand Down

0 comments on commit 63cca10

Please sign in to comment.