From: Zachary Turner Date: Thu, 12 Feb 2015 21:17:07 +0000 (+0000) Subject: Attempt to fix Linux builds after r228960. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=232308cfa95318ba4b662751e5adbfd7b14ff32a;p=oota-llvm.git Attempt to fix Linux builds after r228960. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@228962 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/DebugInfo/PDB/ConcreteSymbolEnumerator.h b/include/llvm/DebugInfo/PDB/ConcreteSymbolEnumerator.h index 6039709b597..1c47ffe7480 100644 --- a/include/llvm/DebugInfo/PDB/ConcreteSymbolEnumerator.h +++ b/include/llvm/DebugInfo/PDB/ConcreteSymbolEnumerator.h @@ -39,7 +39,7 @@ public: void reset() { Enumerator->reset(); } - MyType *clone() const { + IPDBEnumChildren::MyType *clone() const { std::unique_ptr WrappedClone(Enumerator->clone()); return new ConcreteSymbolEnumerator(std::move(WrappedClone)); } diff --git a/include/llvm/DebugInfo/PDB/PDBSymbol.h b/include/llvm/DebugInfo/PDB/PDBSymbol.h index 9aa2da0b1f8..391b1f79016 100644 --- a/include/llvm/DebugInfo/PDB/PDBSymbol.h +++ b/include/llvm/DebugInfo/PDB/PDBSymbol.h @@ -10,9 +10,9 @@ #ifndef LLVM_DEBUGINFO_PDB_IPDBSYMBOL_H #define LLVM_DEBUGINFO_PDB_IPDBSYMBOL_H -#include #include +#include "llvm/ADT/STLExtras.h" #include "llvm/ADT/StringRef.h" #include "llvm/Support/Casting.h" @@ -68,7 +68,7 @@ public: template std::unique_ptr> findAllChildren() const { auto BaseIter = RawSymbol->findChildren(T::Tag); - return std::make_unique>(std::move(BaseIter)); + return llvm::make_unique>(std::move(BaseIter)); } std::unique_ptr findAllChildren() const;