Skip to content
This repository was archived by the owner on Feb 5, 2019. It is now read-only.

Commit 8252de6

Browse files
committed
ProfileData: Fix copy-paste type in RawInstrProfReader
These deleted definitions had the wrong types. Patch by Alex L! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211199 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent de04c48 commit 8252de6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/llvm/ProfileData/InstrProfReader.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,8 +168,8 @@ class RawInstrProfReader : public InstrProfReader {
168168
const char *NamesStart;
169169
const char *ProfileEnd;
170170

171-
RawInstrProfReader(const TextInstrProfReader &) LLVM_DELETED_FUNCTION;
172-
RawInstrProfReader &operator=(const TextInstrProfReader &)
171+
RawInstrProfReader(const RawInstrProfReader &) LLVM_DELETED_FUNCTION;
172+
RawInstrProfReader &operator=(const RawInstrProfReader &)
173173
LLVM_DELETED_FUNCTION;
174174
public:
175175
RawInstrProfReader(std::unique_ptr<MemoryBuffer> DataBuffer)

0 commit comments

Comments
 (0)