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:
Axel Dörfler
2004-02-22 16:38:24 +00:00
parent ab7ada645a
commit 3905fad39d
+2 -2
View File
@@ -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)