diff options
-rw-r--r-- | llvm/lib/ProfileData/InstrProf.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/ProfileData/InstrProf.cpp b/llvm/lib/ProfileData/InstrProf.cpp index fa15170ef6c..4a023f7b2ad 100644 --- a/llvm/lib/ProfileData/InstrProf.cpp +++ b/llvm/lib/ProfileData/InstrProf.cpp @@ -180,7 +180,7 @@ void InstrProfSymtab::create(Module &M, bool InLTO) { continue; const std::string &PGOFuncName = getPGOFuncName(F, InLTO); addFuncName(PGOFuncName); - MD5FuncMap.push_back(std::make_pair(Function::getGUID(PGOFuncName), &F)); + MD5FuncMap.emplace_back(Function::getGUID(PGOFuncName), &F); } finalizeSymtab(); |