summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancesco Mazzoli <francesco@rabbitmq.com>2012-04-11 15:02:30 +0100
committerFrancesco Mazzoli <francesco@rabbitmq.com>2012-04-11 15:02:30 +0100
commit2cd7a82a7f2e5e4a251fe5d6aebab564f42c7d90 (patch)
tree03a4414b9e5c1c1ed6a44132d05450d24c569237
parent2432fb4e038012e03ca0f52e3ee664aa2e5b18ec (diff)
downloadrabbitmq-server-2cd7a82a7f2e5e4a251fe5d6aebab564f42c7d90.tar.gz
Removed rabbit_misc:gb_trees_difference/2.
-rw-r--r--src/rabbit_misc.erl6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/rabbit_misc.erl b/src/rabbit_misc.erl
index 03970f7e..e46c7150 100644
--- a/src/rabbit_misc.erl
+++ b/src/rabbit_misc.erl
@@ -60,7 +60,7 @@
-export([multi_call/2]).
-export([quit/1]).
-export([os_cmd/1]).
--export([gb_sets_difference/2, gb_trees_difference/2]).
+-export([gb_sets_difference/2]).
%%----------------------------------------------------------------------------
@@ -206,7 +206,6 @@
-spec(quit/1 :: (integer() | string()) -> no_return()).
-spec(os_cmd/1 :: (string()) -> string()).
-spec(gb_sets_difference/2 :: (gb_set(), gb_set()) -> gb_set()).
--spec(gb_trees_difference/2 :: (gb_tree(), gb_tree()) -> gb_tree()).
-endif.
@@ -918,6 +917,3 @@ os_cmd(Command) ->
gb_sets_difference(S1, S2) ->
lists:foldl(fun gb_sets:delete_any/2, S1, gb_sets:to_list(S2)).
-
-gb_trees_difference(T1, T2) ->
- lists:foldl(fun gb_trees:delete_any/2, T1, gb_trees:to_list(T2)).