Skip to content

Commit

Permalink
Address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Aiee committed Jan 5, 2022
1 parent 4b0efef commit fc95ed6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/clients/meta/MetaClient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ bool MetaClient::loadUsersAndRoles() {

// Remove expired users from cache
auto removeExpiredUser = [&](folly::ConcurrentHashMap<std::string, uint32>& userMap,
const std::unordered_set<std::string> userList) {
const std::unordered_set<std::string>& userList) {
for (auto& ele : userMap) {
if (userList.count(ele.first) == 0) {
userMap.erase(ele.first);
Expand Down

0 comments on commit fc95ed6

Please sign in to comment.