diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2015-06-21 13:59:01 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2015-06-21 13:59:01 +0000 |
commit | 3a0822f094b578157263e04114075ad7df81db41 (patch) | |
tree | bc48361fe2cd1ca5f93ac01b38b183774468fc79 /include/llvm/Support/DataStream.h | |
parent | 85d8b2bbe386bcfe669575d05b61482d7be07e5d (diff) |
Diffstat (limited to 'include/llvm/Support/DataStream.h')
-rw-r--r-- | include/llvm/Support/DataStream.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/llvm/Support/DataStream.h b/include/llvm/Support/DataStream.h index 8bc413360307..9a4daec1e9cc 100644 --- a/include/llvm/Support/DataStream.h +++ b/include/llvm/Support/DataStream.h @@ -17,6 +17,7 @@ #ifndef LLVM_SUPPORT_DATASTREAM_H #define LLVM_SUPPORT_DATASTREAM_H +#include <memory> #include <string> namespace llvm { @@ -30,9 +31,8 @@ public: virtual ~DataStreamer(); }; -DataStreamer *getDataFileStreamer(const std::string &Filename, - std::string *Err); - -} +std::unique_ptr<DataStreamer> getDataFileStreamer(const std::string &Filename, + std::string *Err); +} // namespace llvm #endif // LLVM_SUPPORT_DATASTREAM_H_ |