From: Arnaud Giersch Date: Wed, 8 Jun 2022 11:02:14 +0000 (+0200) Subject: Fix build with graphviz >= 3. X-Git-Tag: v3.32~197 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/33ef49cf9e1ad1aeea86dca9a009d5a6e15e2920?ds=sidebyside Fix build with graphviz >= 3. --- diff --git a/src/dag/loaders.cpp b/src/dag/loaders.cpp index 5cd632f773..72ca8aa706 100644 --- a/src/dag/loaders.cpp +++ b/src/dag/loaders.cpp @@ -182,7 +182,7 @@ std::vector create_DAG_from_dot(const std::string& filename) FILE* in_file = fopen(filename.c_str(), "r"); xbt_assert(in_file != nullptr, "Failed to open file: %s", filename.c_str()); - Agraph_t* dag_dot = agread(in_file, NIL(Agdisc_t*)); + Agraph_t* dag_dot = agread(in_file, NULL); std::unordered_map activities; std::vector dag;