diff options
| author | Justin Bogner <mail@justinbogner.com> | 2014-07-29 15:56:06 +0000 |
|---|---|---|
| committer | Justin Bogner <mail@justinbogner.com> | 2014-07-29 15:56:06 +0000 |
| commit | bcb868592fa54ba04ba07382002e095da846cfd7 (patch) | |
| tree | a26645afa22bf08e3081e1294ad9455e78e2d808 | |
| parent | accbc9426d8bfaa777889f418f44f5ea174da964 (diff) | |
| download | bcm5719-llvm-bcb868592fa54ba04ba07382002e095da846cfd7.tar.gz bcm5719-llvm-bcb868592fa54ba04ba07382002e095da846cfd7.zip | |
ProfileData: Don't redundantly default initialize a member
We're default constructing RecordIterator anyway, so it needn't appear
in the mem-initializer-list.
llvm-svn: 214182
| -rw-r--r-- | llvm/include/llvm/ProfileData/InstrProfReader.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/include/llvm/ProfileData/InstrProfReader.h b/llvm/include/llvm/ProfileData/InstrProfReader.h index 7a5a71dc6a3..b6073a44bb3 100644 --- a/llvm/include/llvm/ProfileData/InstrProfReader.h +++ b/llvm/include/llvm/ProfileData/InstrProfReader.h @@ -275,8 +275,7 @@ private: LLVM_DELETED_FUNCTION; public: IndexedInstrProfReader(std::unique_ptr<MemoryBuffer> DataBuffer) - : DataBuffer(std::move(DataBuffer)), Index(nullptr), - RecordIterator(InstrProfReaderIndex::data_iterator()) {} + : DataBuffer(std::move(DataBuffer)), Index(nullptr) {} /// Return true if the given buffer is in an indexed instrprof format. static bool hasFormat(const MemoryBuffer &DataBuffer); |

