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

the injected class name of a dependent base class here.

llvm-svn: 163884
This commit is contained in:
Chandler Carruth 2012-09-14 09:30:33 +00:00
parent 1b398ae0ae
commit 9a447db9fc
1 changed files with 2 additions and 2 deletions

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()() {