Make the base class destructor of BCommandPipe::LineReader virtual, since

that will fix the problem fixed in r32926 for all derived classes.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32957 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus 2009-09-06 09:53:28 +00:00
parent aad5c04223
commit 032631e54a
2 changed files with 1 additions and 4 deletions

View File

@ -63,6 +63,7 @@ public:
class LineReader {
public:
virtual ~LineReader() {}
virtual bool IsCanceled() = 0;
virtual status_t ReadLine(const BString& line) = 0;
// TODO: Add a Timeout() method.

View File

@ -304,10 +304,6 @@ BCommandPipe::ReadLines(FILE* file)
fResult("")
{
}
virtual ~AllLinesReader()
{
}
virtual bool IsCanceled()
{