Skip to content
Snippets Groups Projects
Commit b93a6857 authored by Loïc Correnson's avatar Loïc Correnson Committed by Allan Blanchard
Browse files

[wp] avoid using asprintf

parent 76b2a04f
No related branches found
No related tags found
No related merge requests found
......@@ -281,7 +281,7 @@ let dotgraph dot map =
let dump_in_file ~file name map =
if Wp.has_dkey dot_key || Wp.has_dkey pdf_key then
begin
let file = Format.asprintf "%a" Datatype.Filepath.pretty file in
let file = Pretty_utils.to_string Datatype.Filepath.pretty file in
let dot = Dotgraph.open_dot ~attr:[`LR] ~name ~file () in
dotgraph dot map ;
Dotgraph.close dot ;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment