remove QMakeMetaInfo::clear()

each instance of the class is used only once.

Change-Id: I33e01537ee3a731c0f9758ec65c74938e4bec28c
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
This commit is contained in:
Oswald Buddenhagen 2015-09-22 12:13:49 +02:00
parent ffe7f408ea
commit efe9c7ddbb
2 changed files with 0 additions and 9 deletions

View File

@ -50,7 +50,6 @@ QMakeMetaInfo::QMakeMetaInfo(QMakeProject *_conf)
bool
QMakeMetaInfo::readLib(QString lib)
{
clear();
QString meta_file = findLib(lib);
if(cache_vars.contains(meta_file)) {
@ -84,13 +83,6 @@ QMakeMetaInfo::readLib(QString lib)
}
void
QMakeMetaInfo::clear()
{
vars.clear();
}
QString
QMakeMetaInfo::findLib(QString lib)
{

View File

@ -52,7 +52,6 @@ class QMakeMetaInfo
ProValueMap vars;
QString meta_type;
static QHash<QString, ProValueMap> cache_vars;
void clear();
public:
QMakeMetaInfo(QMakeProject *_conf);