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 {
|
class LineReader {
|
||||||
public:
|
public:
|
||||||
|
virtual ~LineReader() {}
|
||||||
virtual bool IsCanceled() = 0;
|
virtual bool IsCanceled() = 0;
|
||||||
virtual status_t ReadLine(const BString& line) = 0;
|
virtual status_t ReadLine(const BString& line) = 0;
|
||||||
// TODO: Add a Timeout() method.
|
// TODO: Add a Timeout() method.
|
||||||
|
@ -305,10 +305,6 @@ BCommandPipe::ReadLines(FILE* file)
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual ~AllLinesReader()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
virtual bool IsCanceled()
|
virtual bool IsCanceled()
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user