aboutsummaryrefslogtreecommitdiffstats
path: root/lib/et/src/et_collector.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2015-05-25 14:21:57 +0200
committerBjörn Gustavsson <[email protected]>2015-05-25 14:28:53 +0200
commit341e4dad9c2577be3af4314f9778ad41df0a5aba (patch)
tree87704aebb4d5bfee0da3eaba13bdc6594c6200c1 /lib/et/src/et_collector.erl
parent2d8a73e2099f239e75276680cda9914c852316ee (diff)
downloadotp-341e4dad9c2577be3af4314f9778ad41df0a5aba.tar.gz
otp-341e4dad9c2577be3af4314f9778ad41df0a5aba.tar.bz2
otp-341e4dad9c2577be3af4314f9778ad41df0a5aba.zip
et: Eliminate warnings for deprecated erlang:now/0
et analyses trace messages, and since trace message with timestamps still always are based on erlang:now/0, we must keep the calls to erlang:now/0 but suppress the warnings.
Diffstat (limited to 'lib/et/src/et_collector.erl')
-rw-r--r--lib/et/src/et_collector.erl2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/et/src/et_collector.erl b/lib/et/src/et_collector.erl
index e05c67be60..1f60dee8ca 100644
--- a/lib/et/src/et_collector.erl
+++ b/lib/et/src/et_collector.erl
@@ -64,6 +64,8 @@
-export([init/1,terminate/2, code_change/3,
handle_call/3, handle_cast/2, handle_info/2]).
+-compile([{nowarn_deprecated_function,[{erlang,now,0}]}]).
+
-include("et_internal.hrl").
-include("../include/et.hrl").