auto mtabPair = it->second; mtabPair.clearAccessBlocker(type);
creates a copy of the mtabPair and then clears the access blocker on the copy. It then goes and removes the entire pair if both are removed, but that might not be the case.
auto mtabPair = it->second; mtabPair.clearAccessBlocker(type);
creates a copy of the mtabPair and then clears the access blocker on the copy. It then goes and removes the entire pair if both are removed, but that might not be the case.