diff options
Diffstat (limited to 'lib/asn1/src/asn1rtt_ext.erl')
-rw-r--r-- | lib/asn1/src/asn1rtt_ext.erl | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/asn1/src/asn1rtt_ext.erl b/lib/asn1/src/asn1rtt_ext.erl index f028e33888..7596194144 100644 --- a/lib/asn1/src/asn1rtt_ext.erl +++ b/lib/asn1/src/asn1rtt_ext.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2012-2017. All Rights Reserved. +%% Copyright Ericsson AB 2012-2023. All Rights Reserved. %% %% Licensed under the Apache License, Version 2.0 (the "License"); %% you may not use this file except in compliance with the License. @@ -127,7 +127,5 @@ transform_to_EXTERNAL1994_maps(V0) -> _ -> %% Keep the EXTERNAL 1990 definition to avoid losing %% information. - V = [{K,V} || {K,V} <- maps:to_list(V0), - V =/= asn1_NOVALUE], - maps:from_list(V) + #{K => V || K := V <- V0, V =/= asn1_NOVALUE} end. |