aboutsummaryrefslogtreecommitdiffstats
path: root/lib/wx/api_gen/wx_gen_erl.erl
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2016-02-25 08:37:19 +0100
committerDan Gudmundsson <[email protected]>2016-02-29 09:21:12 +0100
commit349673e2ffaa0916890fa3e24205197e79e371cd (patch)
tree3fa2fd34361d5bbbdd105da90b2edb01f7046e89 /lib/wx/api_gen/wx_gen_erl.erl
parent7220c5982d688ba5b6a647e41b973c5eb46f0020 (diff)
downloadotp-349673e2ffaa0916890fa3e24205197e79e371cd.tar.gz
otp-349673e2ffaa0916890fa3e24205197e79e371cd.tar.bz2
otp-349673e2ffaa0916890fa3e24205197e79e371cd.zip
wx: Remove http_util usage
Use erlang builtin list_to_integer instead
Diffstat (limited to 'lib/wx/api_gen/wx_gen_erl.erl')
-rw-r--r--lib/wx/api_gen/wx_gen_erl.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/wx/api_gen/wx_gen_erl.erl b/lib/wx/api_gen/wx_gen_erl.erl
index 9df5cb853e..c28b9238dc 100644
--- a/lib/wx/api_gen/wx_gen_erl.erl
+++ b/lib/wx/api_gen/wx_gen_erl.erl
@@ -1169,7 +1169,7 @@ build_enum_ints(#enum{from=From, vals=Vals},Done) ->
const_value(V,_,_) when is_integer(V) -> integer_to_list(V);
const_value(V = "16#" ++ IntList,_,_) ->
- _ = http_util:hexlist_to_integer(IntList), %% ASSERT
+ _ = list_to_integer(IntList, 16), %% ASSERT
V;
const_value(V0, EnumClass, Ignore) ->
try