From 4348e3c5ccad04d8a7ee48b701e7018f21e2cf95 Mon Sep 17 00:00:00 2001 From: Namdak Tonpa Date: Sun, 21 Oct 2018 20:52:12 +0300 Subject: [PATCH] error --- src/bpe_sup.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bpe_sup.erl b/src/bpe_sup.erl index 4839c81..6c14900 100644 --- a/src/bpe_sup.erl +++ b/src/bpe_sup.erl @@ -7,7 +7,7 @@ -export([start_link/0]). -export([init/1]). -opt() -> [ set, named_table, { keypos, 1 }, public ]. +-opt() -> [ set, named_table, { keypos, 1 }, public ]. tables() -> [ processes ]. start_link() -> supervisor:start_link({local, ?MODULE}, ?MODULE, []). init([]) -> [ ets:new(T,opt()) || T <- tables() ],