Put back an assertion in Object::DoQueryInterface, erroneously removed during branch merging.

This commit is contained in:
Gustavo J. A. M. Carneiro
2007-10-01 11:42:41 +01:00
parent 6951f13ce4
commit 5099bebba5

View File

@@ -192,6 +192,7 @@ Object::~Object ()
Ptr<Object>
Object::DoQueryInterface (InterfaceId iid) const
{
NS_ASSERT (Check ());
const Object *currentObject = this;
do {
NS_ASSERT (currentObject != 0);