projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Pass a unique_ptr<MemoryBuffer> to the constructors in the Binary hierarchy.
[oota-llvm.git]
/
include
/
llvm
/
Object
/
Binary.h
diff --git
a/include/llvm/Object/Binary.h
b/include/llvm/Object/Binary.h
index 258a885d4f6ec0a80a552d1e9f7032c9853f35c9..9be2fbe08371bb46eab3ffebe21d19778774ca69 100644
(file)
--- a/
include/llvm/Object/Binary.h
+++ b/
include/llvm/Object/Binary.h
@@
-36,7
+36,7
@@
private:
protected:
std::unique_ptr<MemoryBuffer> Data;
- Binary(unsigned int Type,
MemoryBuffer *
Source);
+ Binary(unsigned int Type,
std::unique_ptr<MemoryBuffer>
Source);
enum {
ID_Archive,