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:
parent
aad5c04223
commit
032631e54a
@ -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.
|
||||
|
@ -304,10 +304,6 @@ BCommandPipe::ReadLines(FILE* file)
|
||||
fResult("")
|
||||
{
|
||||
}
|
||||
|
||||
virtual ~AllLinesReader()
|
||||
{
|
||||
}
|
||||
|
||||
virtual bool IsCanceled()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user