forked from mia/Aegisub
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:
parent
696e76379e
commit
d67176de9b
2 changed files with 2 additions and 0 deletions
|
@ -46,6 +46,7 @@ class CharDistributionAnalysis
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
CharDistributionAnalysis() {Reset();};
|
CharDistributionAnalysis() {Reset();};
|
||||||
|
virtual ~CharDistributionAnalysis() {};
|
||||||
|
|
||||||
//feed a block of data and do distribution analysis
|
//feed a block of data and do distribution analysis
|
||||||
void HandleData(const char* aBuf, PRUint32 aLen) {};
|
void HandleData(const char* aBuf, PRUint32 aLen) {};
|
||||||
|
|
|
@ -52,6 +52,7 @@ class JapaneseContextAnalysis
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
JapaneseContextAnalysis() {Reset();};
|
JapaneseContextAnalysis() {Reset();};
|
||||||
|
virtual ~JapaneseContextAnalysis() {};
|
||||||
|
|
||||||
void HandleData(const char* aBuf, PRUint32 aLen);
|
void HandleData(const char* aBuf, PRUint32 aLen);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue