Fix compilation on Windows

Task-number: QTCREATORBUG-8013

Change-Id: Ia5ae1e95ca51bcec5daccb467dd3e6a66896ab59
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
This commit is contained in:
Eike Ziller
2012-10-11 19:21:00 +02:00
committed by Robert Loehning
parent d4bb573585
commit be8aa2cee0

View File

@@ -519,7 +519,7 @@ Symbol *Clone::instantiate(Template *templ, const FullySpecifiedType *const args
FullySpecifiedType Subst::apply(const Name *name) const
{
if (name) {
std::map<const Name *, FullySpecifiedType>::const_iterator it = _map.find(name);
std::map<const Name *, FullySpecifiedType, Name::Compare>::const_iterator it = _map.find(name);
if (it != _map.end())
return it->second;
else if (_previous)