Commit be8aa2ce authored by Eike Ziller's avatar Eike Ziller Committed by Robert Loehning
Browse files

Fix compilation on Windows



Task-number: QTCREATORBUG-8013

Change-Id: Ia5ae1e95ca51bcec5daccb467dd3e6a66896ab59
Reviewed-by: default avatarRobert Loehning <robert.loehning@digia.com>
parent d4bb5735
...@@ -519,7 +519,7 @@ Symbol *Clone::instantiate(Template *templ, const FullySpecifiedType *const args ...@@ -519,7 +519,7 @@ Symbol *Clone::instantiate(Template *templ, const FullySpecifiedType *const args
FullySpecifiedType Subst::apply(const Name *name) const FullySpecifiedType Subst::apply(const Name *name) const
{ {
if (name) { 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()) if (it != _map.end())
return it->second; return it->second;
else if (_previous) else if (_previous)
......
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