aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2015-02-22 09:04:01 +0100
committerRickard Green <[email protected]>2015-03-20 15:28:54 +0100
commitfdd095a4ee0e09f888a2c779928fa6923babcf7f (patch)
tree1926a3c1e1f55d6abc73ac48040895690b0d0c8c /lib
parente4416aba1c71f3d5d02450ebe8d818493b984030 (diff)
downloadotp-fdd095a4ee0e09f888a2c779928fa6923babcf7f.tar.gz
otp-fdd095a4ee0e09f888a2c779928fa6923babcf7f.tar.bz2
otp-fdd095a4ee0e09f888a2c779928fa6923babcf7f.zip
Disable deprecated warning on erlang:now/0 in diameter_lib
The code itself is backwards compatible with OTP 17, since development is still largely based on 17. Updates for the new time api in OTP 18 were merged into maint in commit 5e5b2221, and on to master in commit ebf24297. Conflicts: lib/diameter/src/base/diameter_lib.erl
Diffstat (limited to 'lib')
-rw-r--r--lib/diameter/src/base/diameter_lib.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/diameter/src/base/diameter_lib.erl b/lib/diameter/src/base/diameter_lib.erl
index 5b3a2063f8..549d7daca0 100644
--- a/lib/diameter/src/base/diameter_lib.erl
+++ b/lib/diameter/src/base/diameter_lib.erl
@@ -18,6 +18,7 @@
%%
-module(diameter_lib).
+-compile({nowarn_deprecated_function, [{erlang, now, 0}]}).
-export([info_report/2,
error_report/2,