File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -8078,17 +8078,17 @@ Error ModuleSummaryIndexBitcodeReader::parseEntireSummary(unsigned ID) {
80788078 std::set<std::string, std::less<>> &CfiFunctionDefs =
80798079 TheIndex.cfiFunctionDefs ();
80808080 for (unsigned I = 0 ; I != Record.size (); I += 2 )
8081- CfiFunctionDefs.insert (
8082- {Strtab. data () + Record[I], static_cast <size_t >(Record[I + 1 ])} );
8081+ CfiFunctionDefs.emplace (Strtab. data () + Record[I],
8082+ static_cast <size_t >(Record[I + 1 ]));
80838083 break ;
80848084 }
80858085
80868086 case bitc::FS_CFI_FUNCTION_DECLS: {
80878087 std::set<std::string, std::less<>> &CfiFunctionDecls =
80888088 TheIndex.cfiFunctionDecls ();
80898089 for (unsigned I = 0 ; I != Record.size (); I += 2 )
8090- CfiFunctionDecls.insert (
8091- {Strtab. data () + Record[I], static_cast <size_t >(Record[I + 1 ])} );
8090+ CfiFunctionDecls.emplace (Strtab. data () + Record[I],
8091+ static_cast <size_t >(Record[I + 1 ]));
80928092 break ;
80938093 }
80948094
You can’t perform that action at this time.
0 commit comments