Changeset 2960 for box/trunk


Ignore:
Timestamp:
04/05/2011 21:30:57 (13 months ago)
Author:
chris
Message:

Add virtual destructors to GetLine? and FdGetLine? to silence warnings.

Location:
box/trunk/lib/common
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • box/trunk/lib/common/FdGetLine.h

    r2935 r2960  
    2727public: 
    2828        FdGetLine(int fd); 
    29         ~FdGetLine(); 
     29        virtual ~FdGetLine(); 
    3030private: 
    3131        FdGetLine(const FdGetLine &rToCopy); 
  • box/trunk/lib/common/GetLine.h

    r2935 r2960  
    4646        virtual bool IsEOF() {return mEOF;} 
    4747        int GetLineNumber() {return mLineNumber;} 
     48        virtual ~GetLine() { } 
    4849         
    4950protected: 
Note: See TracChangeset for help on using the changeset viewer.