xAODBTaggingEfficiency: Fix cppcheck warning.
Don't use erase() on a container that is being iterated over.
Please be advised that registry.cern.ch and registry-tn.cern.ch registries (Registry Service) will be unavailable next Tuesday, Feb 11th starting at 08:00h (Geneva time) for a short period of time. This may cause temporary disruptions to your workflows. Further info: OTG0154380
Don't use erase() on a container that is being iterated over.