forked from qt-creator/qt-creator
Fix compilation on Windows
Task-number: QTCREATORBUG-8013 Change-Id: Ia5ae1e95ca51bcec5daccb467dd3e6a66896ab59 Reviewed-by: Robert Loehning <robert.loehning@digia.com>
This commit is contained in:
committed by
Robert Loehning
parent
d4bb573585
commit
be8aa2cee0
2
src/libs/3rdparty/cplusplus/Templates.cpp
vendored
2
src/libs/3rdparty/cplusplus/Templates.cpp
vendored
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user