diff options
Diffstat (limited to 'llvm/lib/IR/AsmWriter.h')
| -rw-r--r-- | llvm/lib/IR/AsmWriter.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/IR/AsmWriter.h b/llvm/lib/IR/AsmWriter.h index 8f4a37777eb..222d3a490fd 100644 --- a/llvm/lib/IR/AsmWriter.h +++ b/llvm/lib/IR/AsmWriter.h @@ -16,7 +16,6 @@ #define LLVM_IR_ASSEMBLYWRITER_H #include "llvm/ADT/DenseMap.h" -#include "llvm/ADT/OwningPtr.h" #include "llvm/IR/Attributes.h" #include "llvm/IR/Instructions.h" #include "llvm/IR/TypeFinder.h" @@ -67,7 +66,7 @@ protected: const Module *TheModule; private: - OwningPtr<SlotTracker> ModuleSlotTracker; + std::unique_ptr<SlotTracker> ModuleSlotTracker; SlotTracker &Machine; TypePrinting TypePrinter; AssemblyAnnotationWriter *AnnotationWriter; |

