avoid checking for the Object::iid value from within ComponentManager::Register

This commit is contained in:
Mathieu Lacage
2007-05-25 18:39:02 +02:00
parent 1a7e6629fb
commit 827e1c879e

View File

@@ -125,7 +125,7 @@ ComponentManager::Register (ClassId classId, CallbackBase *callback,
for (std::vector<const InterfaceId *>::iterator i = supportedInterfaces.begin ();
i != supportedInterfaces.end (); i++)
{
if (*(*i) == Object::iid)
if (*i == &Object::iid)
{
foundObject = true;
}