diff options
author | Björn Gustavsson <[email protected]> | 2015-05-25 14:21:57 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2015-05-25 14:28:53 +0200 |
commit | 341e4dad9c2577be3af4314f9778ad41df0a5aba (patch) | |
tree | 87704aebb4d5bfee0da3eaba13bdc6594c6200c1 /lib/et/src/et_selector.erl | |
parent | 2d8a73e2099f239e75276680cda9914c852316ee (diff) | |
download | otp-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_selector.erl')
-rw-r--r-- | lib/et/src/et_selector.erl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/et/src/et_selector.erl b/lib/et/src/et_selector.erl index c8e9c907b2..5497096377 100644 --- a/lib/et/src/et_selector.erl +++ b/lib/et/src/et_selector.erl @@ -28,6 +28,8 @@ parse_event/2 ]). +-compile([{nowarn_deprecated_function,[{erlang,now,0}]}]). + -include("../include/et.hrl"). %%---------------------------------------------------------------------- |