Skip to content

Commit

Permalink
Replace gb_tree() type depending on Erlang release.
Browse files Browse the repository at this point in the history
Issue #15
  • Loading branch information
mworrell committed Jun 2, 2014
1 parent a9bba6f commit 8081790
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions 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, {
Expand Down

0 comments on commit 8081790

Please sign in to comment.