Make some (do-nothing) destructors in the chardet library virtual, should fix some warnings on some GCC versions.

Originally committed to SVN as r3403.
This commit is contained in:
Niels Martin Hansen 2009-08-14 01:40:51 +00:00
parent 696e76379e
commit d67176de9b
2 changed files with 2 additions and 0 deletions

View file

@ -46,6 +46,7 @@ class CharDistributionAnalysis
{
public:
CharDistributionAnalysis() {Reset();};
virtual ~CharDistributionAnalysis() {};
//feed a block of data and do distribution analysis
void HandleData(const char* aBuf, PRUint32 aLen) {};

View file

@ -52,6 +52,7 @@ class JapaneseContextAnalysis
{
public:
JapaneseContextAnalysis() {Reset();};
virtual ~JapaneseContextAnalysis() {};
void HandleData(const char* aBuf, PRUint32 aLen);