ProfileData: Fix copy-paste type in RawInstrProfReader
authorJustin Bogner <mail@justinbogner.com>
Wed, 18 Jun 2014 18:20:44 +0000 (18:20 +0000)
committerJustin Bogner <mail@justinbogner.com>
Wed, 18 Jun 2014 18:20:44 +0000 (18:20 +0000)
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

include/llvm/ProfileData/InstrProfReader.h

index c5005a1d11ed18f154b9700c85bc443fcdda68d6..7a5a71dc6a31e7a92e1500b24aef577f7c6cca63 100644 (file)
@@ -168,8 +168,8 @@ private:
   const char *NamesStart;
   const char *ProfileEnd;
 
-  RawInstrProfReader(const TextInstrProfReader &) LLVM_DELETED_FUNCTION;
-  RawInstrProfReader &operator=(const TextInstrProfReader &)
+  RawInstrProfReader(const RawInstrProfReader &) LLVM_DELETED_FUNCTION;
+  RawInstrProfReader &operator=(const RawInstrProfReader &)
     LLVM_DELETED_FUNCTION;
 public:
   RawInstrProfReader(std::unique_ptr<MemoryBuffer> DataBuffer)