X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=include%2Fllvm%2FSupport%2FDataStream.h;h=a544316f430d83d1be7a63c0ab87cd953af29ed4;hb=4918b66f8428f0d5b4559da8f966e3aa54c3b1ba;hp=8bc413360307cab3a9697a5c850f19d57f541c83;hpb=674be02d525d4e24bc6943ed9274958c580bcfbc;p=oota-llvm.git diff --git a/include/llvm/Support/DataStream.h b/include/llvm/Support/DataStream.h index 8bc41336030..a544316f430 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 #include namespace llvm { @@ -30,9 +31,8 @@ public: virtual ~DataStreamer(); }; -DataStreamer *getDataFileStreamer(const std::string &Filename, - std::string *Err); - +std::unique_ptr getDataFileStreamer(const std::string &Filename, + std::string *Err); } #endif // LLVM_SUPPORT_DATASTREAM_H_