forked from qt-creator/qt-creator
Analyzer: Compile fix for gcc 4.0.1
Suggested by Roberto Raggi.
This commit is contained in:
@@ -54,7 +54,7 @@ template <typename T> static void setIfPresent(const QVariantMap &map, const QSt
|
|||||||
{
|
{
|
||||||
if (!map.contains(key))
|
if (!map.contains(key))
|
||||||
return;
|
return;
|
||||||
*val = map.value(key).value<T>();
|
*val = map.value(key).template value<T>();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user