From fdd095a4ee0e09f888a2c779928fa6923babcf7f Mon Sep 17 00:00:00 2001 From: Anders Svensson Date: Sun, 22 Feb 2015 09:04:01 +0100 Subject: 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 --- lib/diameter/src/base/diameter_lib.erl | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/diameter/src/base') 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, -- cgit v1.2.3