Fix TClassEdit::IsDefAlloc
Fix TClassEdit::IsDefAlloc

Fix a typo (consume key and value) and correct the algorithm
in the non-pair case (was forgetting to skip std:: consistently).

This solves ROOT-5999.

bbockelm/root,root-mirror/root,mhuwiler/rootauto,satyarth934/root,0x0all/ROOT,arch1tect0r/root,krafczyk/root,smarinac/root,krafczyk/root,Y--/root,Duraznos/root,omazapa/root,bbockelm/root,gbitzes/root,buuck/root,Duraznos/root,agarciamontoro/root,0x0all/ROOT,Y--/root,sbinet/cxx-root,omazapa/root-old,mkret2/root,Y--/root,sawenzel/root,CristinaCristescu/root,dfunke/root,gbitzes/root,satyarth934/root,esakellari/my_root_for_test,pspe/root,sawenzel/root,veprbl/root,arch1tect0r/root,esakellari/root,beniz/root,esakellari/root,olifre/root,veprbl/root,esakellari/root,lgiommi/root,Duraznos/root,gganis/root,perovic/root,sbinet/cxx-root,omazapa/root-old,arch1tect0r/root,thomaskeck/root,esakellari/root,beniz/root,bbockelm/root,buuck/root,esakellari/root,lgiommi/root,mattkretz/root,0x0all/ROOT,karies/root,gbitzes/root,omazapa/root-old,beniz/root,vukasinmilosevic/root,zzxuanyuan/root-compressor-dummy,agarciamontoro/root,satyarth934/root,gganis/root,mhuwiler/rootauto,vukasinmilosevic/root,root-mirror/root,karies/root,jrtomps/root,nilqed/root,smarinac/root,Duraznos/root,sirinath/root,zzxuanyuan/root,perovic/root,thomaskeck/root,mhuwiler/rootauto,omazapa/root,omazapa/root-old,veprbl/root,agarciamontoro/root,Duraznos/root,zzxuanyuan/root,CristinaCristescu/root,krafczyk/root,root-mirror/root,simonpf/root,zzxuanyuan/root-compressor-dummy,BerserkerTroll/root,buuck/root,lgiommi/root,sbinet/cxx-root,sawenzel/root,mhuwiler/rootauto,CristinaCristescu/root,pspe/root,bbockelm/root,CristinaCristescu/root,dfunke/root,0x0all/ROOT,gbitzes/root,sirinath/root,dfunke/root,karies/root,davidlt/root,beniz/root,omazapa/root-old,simonpf/root,vukasinmilosevic/root,zzxuanyuan/root,Duraznos/root,sirinath/root,lgiommi/root,lgiommi/root,BerserkerTroll/root,Y--/root,mkret2/root,evgeny-boger/root,arch1tect0r/root,karies/root,nilqed/root,davidlt/root,jrtomps/root,Y--/root,jrtomps/root,mkret2/root,pspe/root,dfunke/root,pspe/root,abhinavmoudgil95/root,mkret2/root,root-mirror/root,olifre/root,sirinath/root,lgiommi/root,olifre/root,jrtomps/root,dfunke/root,jrtomps/root,nilqed/root,sbinet/cxx-root,mattkretz/root,BerserkerTroll/root,gganis/root,satyarth934/root,gganis/root,gbitzes/root,agarciamontoro/root,krafczyk/root,omazapa/root,zzxuanyuan/root,thomaskeck/root,mattkretz/root,beniz/root,CristinaCristescu/root,olifre/root,nilqed/root,perovic/root,esakellari/my_root_for_test,vukasinmilosevic/root,zzxuanyuan/root-compressor-dummy,gganis/root,sbinet/cxx-root,mattkretz/root,satyarth934/root,georgtroska/root,Y--/root,satyarth934/root,beniz/root,esakellari/root,smarinac/root,veprbl/root,smarinac/root,mhuwiler/rootauto,lgiommi/root,simonpf/root,mkret2/root,mhuwiler/rootauto,omazapa/root-old,perovic/root,esakellari/root,arch1tect0r/root,gganis/root,root-mirror/root,root-mirror/root,perovic/root,BerserkerTroll/root,jrtomps/root,zzxuanyuan/root-compressor-dummy,Y--/root,beniz/root,davidlt/root,vukasinmilosevic/root,buuck/root,root-mirror/root,buuck/root,karies/root,sirinath/root,beniz/root,olifre/root,nilqed/root,georgtroska/root,arch1tect0r/root,lgiommi/root,gbitzes/root,zzxuanyuan/root-compressor-dummy,evgeny-boger/root,zzxuanyuan/root,bbockelm/root,abhinavmoudgil95/root,Duraznos/root,veprbl/root,evgeny-boger/root,buuck/root,olifre/root,mkret2/root,davidlt/root,krafczyk/root,evgeny-boger/root,mattkretz/root,sbinet/cxx-root,karies/root,thomaskeck/root,mhuwiler/rootauto,thomaskeck/root,jrtomps/root,mkret2/root,georgtroska/root,satyarth934/root,satyarth934/root,smarinac/root,mhuwiler/rootauto,nilqed/root,nilqed/root,esakellari/my_root_for_test,zzxuanyuan/root-compressor-dummy,mhuwiler/rootauto,root-mirror/root,buuck/root,nilqed/root,dfunke/root,dfunke/root,veprbl/root,sbinet/cxx-root,sawenzel/root,krafczyk/root,davidlt/root,perovic/root,agarciamontoro/root,simonpf/root,nilqed/root,sirinath/root,agarciamontoro/root,olifre/root,sbinet/cxx-root,bbockelm/root,omazapa/root-old,vukasinmilosevic/root,lgiommi/root,perovic/root,thomaskeck/root,smarinac/root,lgiommi/root,pspe/root,abhinavmoudgil95/root,gganis/root,sawenzel/root,mattkretz/root,mattkretz/root,pspe/root,esakellari/my_root_for_test,davidlt/root,evgeny-boger/root,davidlt/root,krafczyk/root,omazapa/root,bbockelm/root,abhinavmoudgil95/root,dfunke/root,mkret2/root,root-mirror/root,nilqed/root,zzxuanyuan/root,esakellari/root,CristinaCristescu/root,0x0all/ROOT,esakellari/my_root_for_test,perovic/root,evgeny-boger/root,sawenzel/root,zzxuanyuan/root,root-mirror/root,georgtroska/root,smarinac/root,smarinac/root,jrtomps/root,lgiommi/root,arch1tect0r/root,arch1tect0r/root,arch1tect0r/root,olifre/root,agarciamontoro/root,pspe/root,krafczyk/root,pspe/root,evgeny-boger/root,zzxuanyuan/root,abhinavmoudgil95/root,georgtroska/root,zzxuanyuan/root,omazapa/root-old,beniz/root,sawenzel/root,davidlt/root,buuck/root,mhuwiler/rootauto,gbitzes/root,georgtroska/root,gganis/root,omazapa/root-old,0x0all/ROOT,Duraznos/root,mhuwiler/rootauto,omazapa/root,beniz/root,esakellari/root,sbinet/cxx-root,arch1tect0r/root,dfunke/root,sirinath/root,gbitzes/root,evgeny-boger/root,zzxuanyuan/root-compressor-dummy,0x0all/ROOT,jrtomps/root,esakellari/my_root_for_test,Duraznos/root,gbitzes/root,jrtomps/root,buuck/root,pspe/root,esakellari/root,zzxuanyuan/root,mkret2/root,CristinaCristescu/root,Y--/root,pspe/root,zzxuanyuan/root,agarciamontoro/root,abhinavmoudgil95/root,veprbl/root,thomaskeck/root,olifre/root,esakellari/root,evgeny-boger/root,sawenzel/root,agarciamontoro/root,simonpf/root,vukasinmilosevic/root,perovic/root,karies/root,georgtroska/root,veprbl/root,thomaskeck/root,thomaskeck/root,mkret2/root,omazapa/root,omazapa/root,omazapa/root-old,CristinaCristescu/root,gbitzes/root,mattkretz/root,bbockelm/root,omazapa/root,veprbl/root,dfunke/root,mattkretz/root,agarciamontoro/root,veprbl/root,sawenzel/root,perovic/root,zzxuanyuan/root-compressor-dummy,sirinath/root,abhinavmoudgil95/root,simonpf/root,esakellari/my_root_for_test,CristinaCristescu/root,jrtomps/root,nilqed/root,karies/root,arch1tect0r/root,Duraznos/root,BerserkerTroll/root,olifre/root,esakellari/my_root_for_test,BerserkerTroll/root,sirinath/root,omazapa/root,mattkretz/root,sirinath/root,davidlt/root,bbockelm/root,satyarth934/root,abhinavmoudgil95/root,smarinac/root,gganis/root,olifre/root,abhinavmoudgil95/root,krafczyk/root,abhinavmoudgil95/root,simonpf/root,zzxuanyuan/root-compressor-dummy,CristinaCristescu/root,karies/root,vukasinmilosevic/root,sirinath/root,omazapa/root,perovic/root,buuck/root,zzxuanyuan/root,BerserkerTroll/root,0x0all/ROOT,simonpf/root,bbockelm/root,CristinaCristescu/root,Y--/root,karies/root,beniz/root,simonpf/root,krafczyk/root,sawenzel/root,agarciamontoro/root,sbinet/cxx-root,zzxuanyuan/root-compressor-dummy,satyarth934/root,pspe/root,gganis/root,Y--/root,esakellari/my_root_for_test,abhinavmoudgil95/root,mkret2/root,vukasinmilosevic/root,davidlt/root,georgtroska/root,thomaskeck/root,veprbl/root,esakellari/my_root_for_test,BerserkerTroll/root,gbitzes/root,BerserkerTroll/root,vukasinmilosevic/root,georgtroska/root,georgtroska/root,karies/root,simonpf/root,evgeny-boger/root,evgeny-boger/root,buuck/root,simonpf/root,davidlt/root,Y--/root,Duraznos/root,sbinet/cxx-root,mattkretz/root,omazapa/root-old,BerserkerTroll/root,root-mirror/root,omazapa/root,bbockelm/root,gganis/root,smarinac/root,georgtroska/root,vukasinmilosevic/root,BerserkerTroll/root,krafczyk/root,satyarth934/root,zzxuanyuan/root-compressor-dummy,sawenzel/root,dfunke/root,0x0all/ROOT