From 808179069c02aa86c0bdc9f826dc5a1f5ba9789b Mon Sep 17 00:00:00 2001 From: Marc Worrell Date: Mon, 2 Jun 2014 13:40:21 +0200 Subject: [PATCH] Replace gb_tree() type depending on Erlang release. Issue #15 --- include/wm_reqdata.hrl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/wm_reqdata.hrl b/include/wm_reqdata.hrl index 21fb3d4..39b2f45 100644 --- a/include/wm_reqdata.hrl +++ b/include/wm_reqdata.hrl @@ -1,8 +1,10 @@ -ifdef(namespaced_dicts). -type wm_dict() :: dict:dict(). +-type wm_gb_tree() :: gb_trees:tree(). -else. -type wm_dict() :: dict(). +-type wm_gb_tree() :: gb_tree(). -endif. -record(wm_reqdata, {