Browse Source

fix export_all

221V 1 year ago
parent
commit
b96c28831c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/rest_sup.erl

+ 1 - 1
src/rest_sup.erl

@@ -1,7 +1,7 @@
 -module(rest_sup).
 -behaviour(supervisor).
 -export([start_link/0, init/1]).
--compile(export_all).
+-compile([export_all, nowarn_export_all]).
 
 start_link() -> supervisor:start_link({local, ?MODULE}, ?MODULE, []).
 init([]) -> {ok, {{one_for_one, 5, 10}, []}}.