mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-24 23:28:41 +00:00
Use std::unique_ptr instead of OwningPtr in the MemoryBuffer unittests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209102 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -12,7 +12,6 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "llvm/Support/FileSystem.h"
|
||||
#include "llvm/ADT/OwningPtr.h"
|
||||
#include "llvm/Support/MemoryBuffer.h"
|
||||
#include "llvm/Support/raw_ostream.h"
|
||||
#include "gtest/gtest.h"
|
||||
@@ -36,7 +35,7 @@ protected:
|
||||
/// anew before using MemoryBuffer.
|
||||
void testGetOpenFileSlice(bool Reopen);
|
||||
|
||||
typedef OwningPtr<MemoryBuffer> OwningBuffer;
|
||||
typedef std::unique_ptr<MemoryBuffer> OwningBuffer;
|
||||
|
||||
std::string data;
|
||||
};
|
||||
|
Reference in New Issue
Block a user