diff options
| author | Johannes Weißl <jargon@molb.org> | 2015-06-11 22:16:00 +0200 |
|---|---|---|
| committer | Johannes Weißl <jargon@molb.org> | 2015-06-11 22:16:00 +0200 |
| commit | 49d9a696ff8db9a9b28c93ebe83c3dd989699414 (patch) | |
| tree | 92d6cdb8c5ee7f8a0cfcefa5741849d14e60c451 | |
| parent | 562a5bd1698fd0161d27741b52e988ddcfd437b5 (diff) | |
| download | rabbitmq-server-git-49d9a696ff8db9a9b28c93ebe83c3dd989699414.tar.gz | |
Update digraph type
The type digraph:digraph/0 got changed to digraph:graph/0 in OTP R16B03.
To support older and newer releases a preprocessor define (with
configure-like check) would be necessary.
| -rw-r--r-- | src/rabbit_misc.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_misc.erl b/src/rabbit_misc.erl index 27f9cbf52a..ce563bf665 100644 --- a/src/rabbit_misc.erl +++ b/src/rabbit_misc.erl @@ -217,7 +217,7 @@ (atom()) -> [{atom(), atom(), [term()]}]). -spec(build_acyclic_graph/3 :: (graph_vertex_fun(), graph_edge_fun(), [{atom(), [term()]}]) - -> rabbit_types:ok_or_error2(digraph:digraph(), + -> rabbit_types:ok_or_error2(digraph:graph(), {'vertex', 'duplicate', digraph:vertex()} | {'edge', ({bad_vertex, digraph:vertex()} | {bad_edge, [digraph:vertex()]}), |
