From a9565fc65292f41f4a0390c340c4f8130ff6d1c0 Mon Sep 17 00:00:00 2001 From: chris Date: Fri, 26 Feb 2021 12:29:38 +0800 Subject: [PATCH] fix: remove LoadFunctionMap while constructing Enforcer Signed-off-by: chris --- casbin/enforcer.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/casbin/enforcer.cpp b/casbin/enforcer.cpp index de790c31..f611eba1 100644 --- a/casbin/enforcer.cpp +++ b/casbin/enforcer.cpp @@ -200,7 +200,6 @@ Enforcer :: Enforcer(shared_ptr m, shared_ptr adapter) { this->model = m; this->model->PrintModel(); - this->func_map.LoadFunctionMap(); this->Initialize();