summaryrefslogtreecommitdiffstats
path: root/qmake/option.cpp
diff options
context:
space:
mode:
authorminiak <milan.burda@gmail.com>2010-08-03 16:33:13 (GMT)
committerOlivier Goffart <olivier.goffart@nokia.com>2010-08-03 16:35:29 (GMT)
commit0d6a0f1371d899c4105bc4383550ca1cb6b132b2 (patch)
tree83863409fd5b67699257cfe50d18d94bb2b30cba /qmake/option.cpp
parent26f43dcc70a0bcc8aec96a0ca6f648c543b97b10 (diff)
downloadQt-0d6a0f1371d899c4105bc4383550ca1cb6b132b2.zip
Qt-0d6a0f1371d899c4105bc4383550ca1cb6b132b2.tar.gz
Qt-0d6a0f1371d899c4105bc4383550ca1cb6b132b2.tar.bz2
qmake: qmakeDeleteCacheClear() function can be template now
Merge-request: 756 Reviewed-by: Olivier Goffart <olivier.goffart@nokia.com>
Diffstat (limited to 'qmake/option.cpp')
-rw-r--r--qmake/option.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qmake/option.cpp b/qmake/option.cpp
index 8db3797..27e7c18 100644
--- a/qmake/option.cpp
+++ b/qmake/option.cpp
@@ -621,7 +621,7 @@ Option::fixString(QString string, uchar flags)
static QHash<FixStringCacheKey, QString> *cache = 0;
if(!cache) {
cache = new QHash<FixStringCacheKey, QString>;
- qmakeAddCacheClear(qmakeDeleteCacheClear_QHashFixStringCacheKeyQString, (void**)&cache);
+ qmakeAddCacheClear(qmakeDeleteCacheClear<QHash<FixStringCacheKey, QString> >, (void**)&cache);
}
FixStringCacheKey cacheKey(string, flags);
if(cache->contains(cacheKey)) {