diff options
Diffstat (limited to 'include/llvm/Support/StreamingMemoryObject.h')
-rw-r--r-- | include/llvm/Support/StreamingMemoryObject.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Support/StreamingMemoryObject.h b/include/llvm/Support/StreamingMemoryObject.h index 932e635cd072..fe0cc7e71f97 100644 --- a/include/llvm/Support/StreamingMemoryObject.h +++ b/include/llvm/Support/StreamingMemoryObject.h @@ -24,7 +24,7 @@ namespace llvm { /// setKnownObjectSize methods which are not applicable to non-streamed objects. class StreamingMemoryObject : public MemoryObject { public: - StreamingMemoryObject(DataStreamer *streamer); + StreamingMemoryObject(std::unique_ptr<DataStreamer> Streamer); uint64_t getExtent() const override; uint64_t readBytes(uint8_t *Buf, uint64_t Size, uint64_t Address) const override; @@ -89,5 +89,5 @@ private: MemoryObject *getNonStreamedMemoryObject( const unsigned char *Start, const unsigned char *End); -} +} // namespace llvm #endif // STREAMINGMEMORYOBJECT_H_ |