Ignore:
Timestamp:
2010-05-20T20:51:21+12:00 (14 years ago)
Author:
davidb
Message:

Was surprised to discover some classes that did not correctly specify virtual on its destructor, even though virutal was being used on other methods in the class, or else through inheritance. Now fixed up.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/common-src/src/lib/text_t.h

    r18880 r22141  
    298298 
    299299  convertclass ();
     300  virtual ~convertclass ();
    300301  virtual void reset ();
    301302};
     
    310311public:
    311312  inconvertclass ();
    312   void reset ();
     313  ~inconvertclass ();
     314
     315  virtual void reset ();
    313316  void setinput (char *thestart, size_t thelen);
    314317
     
    351354public:
    352355  outconvertclass ();
     356  ~outconvertclass ();
     357
    353358  virtual void reset ();
    354359  virtual void setinput (text_t *theinput);
Note: See TracChangeset for help on using the changeset viewer.