C++: Remove unused member

Change-Id: I3469aab3ea699d531f12383138f4e91411b98e7f
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
Nikolai Kosjar
2015-04-21 11:57:13 +02:00
parent 255b5850e2
commit eb808980f7

View File

@@ -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);