Speculative change to try to fix older GCC versions that can't handle

the injected class name of a dependent base class here.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163884 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chandler Carruth 2012-09-14 09:30:33 +00:00
parent 713aa9431d
commit 2a9bf25f60

View File

@ -457,7 +457,7 @@ class AllocaPartitioning::PartitionBuilder
public:
PartitionBuilder(const TargetData &TD, AllocaInst &AI, AllocaPartitioning &P)
: BuilderBase(TD, AI, P) {}
: BuilderBase<PartitionBuilder, bool>(TD, AI, P) {}
/// \brief Run the builder over the allocation.
bool operator()() {
@ -740,7 +740,7 @@ class AllocaPartitioning::UseBuilder : public BuilderBase<UseBuilder> {
public:
UseBuilder(const TargetData &TD, AllocaInst &AI, AllocaPartitioning &P)
: BuilderBase(TD, AI, P) {}
: BuilderBase<UseBuilder>(TD, AI, P) {}
/// \brief Run the builder over the allocation.
void operator()() {