加入忽略一些负荷的功能。

Signed-off-by: dmy@lab <dmy@lab.lab>
This commit is contained in:
dmy@lab
2015-01-16 16:27:05 +08:00
parent 9faa1cce49
commit 491f5e2276
5 changed files with 35 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
#include "loadmatchexception.h"
#include <iostream>
QHash<QString,char > *LoadMatchException::ht=NULL;
LoadMatchException::LoadMatchException()
{
@@ -14,6 +14,7 @@ LoadMatchException::~LoadMatchException()
bool LoadMatchException::contains(const QString& key)
{
return LoadMatchException::ht->contains(key);
}
@@ -36,6 +37,10 @@ bool LoadMatchException::init(const QString& exceptionFilePath)
}
file.close();
}
else
{
std::cout<<"cannot open exception file "<<exceptionFilePath.toStdString()<<std::endl;
}
return true;
}