Commit eb808980 authored by Nikolai Kosjar's avatar Nikolai Kosjar
Browse files

C++: Remove unused member



Change-Id: I3469aab3ea699d531f12383138f4e91411b98e7f
Reviewed-by: Orgad Shaneh's avatarOrgad Shaneh <orgads@gmail.com>
parent 255b5850
......@@ -598,9 +598,8 @@ public:
class Instantiator
{
public:
Instantiator(CreateBindings *factory, Clone &cloner, Subst &subst)
: _factory(factory)
, _cloner(cloner)
Instantiator(Clone &cloner, Subst &subst)
: _cloner(cloner)
, _subst(subst)
{}
void instantiate(LookupScopePrivate *lookupScope, LookupScopePrivate *instantiation);
......@@ -611,7 +610,6 @@ private:
NamedType *findNamedType(Type *memberType) const;
ProcessedSet _alreadyConsideredInstantiations;
CreateBindings *_factory;
Clone &_cloner;
Subst &_subst;
};
......@@ -1313,7 +1311,7 @@ LookupScopePrivate *LookupScopePrivate::nestedType(
}
}
}
Instantiator instantiator(_factory, cloner, subst);
Instantiator instantiator(cloner, subst);
instantiator.instantiate(reference, instantiation);
} else {
instantiation->_symbols.append(reference->_symbols);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment