@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user