Skip to content

Commit 9e5dd59

Browse files
committed
fix: replace LoadPolicy for same class
Signed-off-by: Yash Pandey (YP) <[email protected]>
1 parent 7e21496 commit 9e5dd59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

casbin/enforcer_synced.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ void SyncedEnforcer ::StartAutoLoadPolicy(chrono::duration<int64_t, nano> t) {
113113
return;
114114
autoLoadRunning = true;
115115
Ticker::on_tick_t onTick = [this]() {
116-
Enforcer::LoadPolicy();
116+
SyncedEnforcer::LoadPolicy();
117117
++n;
118118
};
119119
ticker = unique_ptr<Ticker>(new Ticker(onTick, t));

0 commit comments

Comments
 (0)