Attempt to fix Linux builds after r228960.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@228962 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Zachary Turner 2015-02-12 21:17:07 +00:00
parent 8093f4b9bb
commit 232308cfa9
2 changed files with 3 additions and 3 deletions

View File

@ -39,7 +39,7 @@ public:
void reset() { Enumerator->reset(); }
MyType *clone() const {
IPDBEnumChildren<ChildType>::MyType *clone() const {
std::unique_ptr<IPDBEnumSymbols> WrappedClone(Enumerator->clone());
return new ConcreteSymbolEnumerator<ChildType>(std::move(WrappedClone));
}

View File

@ -10,9 +10,9 @@
#ifndef LLVM_DEBUGINFO_PDB_IPDBSYMBOL_H
#define LLVM_DEBUGINFO_PDB_IPDBSYMBOL_H
#include <memory>
#include <unordered_map>
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/Casting.h"
@ -68,7 +68,7 @@ public:
template <typename T>
std::unique_ptr<ConcreteSymbolEnumerator<T>> findAllChildren() const {
auto BaseIter = RawSymbol->findChildren(T::Tag);
return std::make_unique<ConcreteSymbolEnumerator<T>>(std::move(BaseIter));
return llvm::make_unique<ConcreteSymbolEnumerator<T>>(std::move(BaseIter));
}
std::unique_ptr<IPDBEnumSymbols> findAllChildren() const;