File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -759,7 +759,7 @@ static Error processMultiLetterExtension(
759
759
}
760
760
761
761
// Check if duplicated extension.
762
- if (!IgnoreUnknown && ( SeenExtMap.find (Name.str ()) != SeenExtMap. end ()))
762
+ if (!IgnoreUnknown && SeenExtMap.contains (Name.str ()))
763
763
return createStringError (errc::invalid_argument, " duplicated %s '%s'" ,
764
764
Desc.str ().c_str (), Name.str ().c_str ());
765
765
@@ -793,7 +793,7 @@ static Error processSingleLetterExtension(
793
793
RawExt = RawExt.substr (ConsumeLength);
794
794
795
795
// Check if duplicated extension.
796
- if (!IgnoreUnknown && ( SeenExtMap.find (Name.str ()) != SeenExtMap. end ()))
796
+ if (!IgnoreUnknown && SeenExtMap.contains (Name.str ()))
797
797
return createStringError (errc::invalid_argument,
798
798
" duplicated standard user-level extension '%s'" ,
799
799
Name.str ().c_str ());
You can’t perform that action at this time.
0 commit comments