Added a ToDo comment about the missing reply sending on destruction (as reported by Ingo).
You don't have to check against NULL when deleting an object. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6674 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -168,8 +168,8 @@ BMessage::BMessage(BMessage *a_message)
|
|||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
BMessage::~BMessage()
|
BMessage::~BMessage()
|
||||||
{
|
{
|
||||||
if (fBody)
|
// ToDo: send outstanding reply!
|
||||||
delete fBody;
|
delete fBody;
|
||||||
}
|
}
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
BMessage& BMessage::operator=(const BMessage& msg)
|
BMessage& BMessage::operator=(const BMessage& msg)
|
||||||
|
|||||||
Reference in New Issue
Block a user