From 827e1c879ee4621463906916dfcd0539088fea29 Mon Sep 17 00:00:00 2001 From: Mathieu Lacage Date: Fri, 25 May 2007 18:39:02 +0200 Subject: [PATCH] avoid checking for the Object::iid value from within ComponentManager::Register --- src/core/component-manager.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/component-manager.cc b/src/core/component-manager.cc index e79521493..f6ee14d4d 100644 --- a/src/core/component-manager.cc +++ b/src/core/component-manager.cc @@ -125,7 +125,7 @@ ComponentManager::Register (ClassId classId, CallbackBase *callback, for (std::vector::iterator i = supportedInterfaces.begin (); i != supportedInterfaces.end (); i++) { - if (*(*i) == Object::iid) + if (*i == &Object::iid) { foundObject = true; }