diff options
-rw-r--r-- | llvm/include/llvm/ProfileData/InstrProf.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/ProfileData/InstrProf.h b/llvm/include/llvm/ProfileData/InstrProf.h index cc2e25262a0..2be174d573d 100644 --- a/llvm/include/llvm/ProfileData/InstrProf.h +++ b/llvm/include/llvm/ProfileData/InstrProf.h @@ -308,7 +308,7 @@ std::unique_ptr<InstrProfValueData[]> InstrProfRecord::getValueForSite( } assert(I == N); - return std::move(VD); + return VD; } void InstrProfRecord::addValueData(uint32_t ValueKind, uint32_t Site, |