X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=lib%2FProfileData%2FInstrProfReader.cpp;h=8a529a000c537de6f558c01a52672ab92f986b54;hb=00552e3875ee5f382db6c98286a241a7d0efe1b8;hp=b8bdbc57af8a6aa1f36aa2bf2962e495e13f3c3a;hpb=9edccc8b408ae286b1758be66be0fc3656e396cc;p=oota-llvm.git diff --git a/lib/ProfileData/InstrProfReader.cpp b/lib/ProfileData/InstrProfReader.cpp index b8bdbc57af8..8a529a000c5 100644 --- a/lib/ProfileData/InstrProfReader.cpp +++ b/lib/ProfileData/InstrProfReader.cpp @@ -337,7 +337,7 @@ data_type InstrProfLookupTrait::ReadData(StringRef K, const unsigned char *D, for (unsigned J = 0; J < NumCounts; ++J) CounterBuffer.push_back(endian::readNext(D)); - DataBuffer.push_back(InstrProfRecord(K, Hash, CounterBuffer)); + DataBuffer.push_back(InstrProfRecord(K, Hash, std::move(CounterBuffer))); } return DataBuffer; }