forked from qt-creator/qt-creator
C++: Remove unused member
Change-Id: I3469aab3ea699d531f12383138f4e91411b98e7f Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -598,9 +598,8 @@ public:
|
|||||||
class Instantiator
|
class Instantiator
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
Instantiator(CreateBindings *factory, Clone &cloner, Subst &subst)
|
Instantiator(Clone &cloner, Subst &subst)
|
||||||
: _factory(factory)
|
: _cloner(cloner)
|
||||||
, _cloner(cloner)
|
|
||||||
, _subst(subst)
|
, _subst(subst)
|
||||||
{}
|
{}
|
||||||
void instantiate(LookupScopePrivate *lookupScope, LookupScopePrivate *instantiation);
|
void instantiate(LookupScopePrivate *lookupScope, LookupScopePrivate *instantiation);
|
||||||
@@ -611,7 +610,6 @@ private:
|
|||||||
NamedType *findNamedType(Type *memberType) const;
|
NamedType *findNamedType(Type *memberType) const;
|
||||||
|
|
||||||
ProcessedSet _alreadyConsideredInstantiations;
|
ProcessedSet _alreadyConsideredInstantiations;
|
||||||
CreateBindings *_factory;
|
|
||||||
Clone &_cloner;
|
Clone &_cloner;
|
||||||
Subst &_subst;
|
Subst &_subst;
|
||||||
};
|
};
|
||||||
@@ -1313,7 +1311,7 @@ LookupScopePrivate *LookupScopePrivate::nestedType(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Instantiator instantiator(_factory, cloner, subst);
|
Instantiator instantiator(cloner, subst);
|
||||||
instantiator.instantiate(reference, instantiation);
|
instantiator.instantiate(reference, instantiation);
|
||||||
} else {
|
} else {
|
||||||
instantiation->_symbols.append(reference->_symbols);
|
instantiation->_symbols.append(reference->_symbols);
|
||||||
|
|||||||
Reference in New Issue
Block a user