Skip to content

Commit

Permalink
feat: [basic_model_speedup] CI fix for Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexeyChashchegorov committed Mar 17, 2024
1 parent 758b4ee commit 626ba83
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion casbin/model/policy_collection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,8 @@ PoliciesValues::iterator PoliciesValues::find(const PolicyValues& values) {
void PoliciesValues::clear() {
if (opt_base_vector.has_value())
opt_base_vector->clear();
opt_base_hashset->clear();
else
opt_base_hashset->clear();
}

void PoliciesValues::erase(const iterator& it) {
Expand Down

0 comments on commit 626ba83

Please sign in to comment.