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!

llvm-svn: 211199

llvm/include/llvm/ProfileData/InstrProfReader.h

index c5005a1..7a5a71d 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)