summaryrefslogtreecommitdiffstats
path: root/contrib/llvm/include/llvm/Support/DataStream.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/llvm/include/llvm/Support/DataStream.h')
-rw-r--r--contrib/llvm/include/llvm/Support/DataStream.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/contrib/llvm/include/llvm/Support/DataStream.h b/contrib/llvm/include/llvm/Support/DataStream.h
index 8bc4133..9a4daec 100644
--- a/contrib/llvm/include/llvm/Support/DataStream.h
+++ b/contrib/llvm/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_
OpenPOWER on IntegriCloud