aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler/src/cerl_sets.erl
diff options
context:
space:
mode:
Diffstat (limited to 'lib/compiler/src/cerl_sets.erl')
-rw-r--r--lib/compiler/src/cerl_sets.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/compiler/src/cerl_sets.erl b/lib/compiler/src/cerl_sets.erl
index 0361186713..f489baf238 100644
--- a/lib/compiler/src/cerl_sets.erl
+++ b/lib/compiler/src/cerl_sets.erl
@@ -204,4 +204,4 @@ fold(F, Init, D) ->
Set2 :: set(Element).
filter(F, D) ->
- maps:from_list(lists:filter(fun({K,_}) -> F(K) end, maps:to_list(D))).
+ maps:filter(fun(K,_) -> F(K) end, D).