go to the next element in search loop
authorMathieu Lacage <mathieu.lacage@sophia.inria.fr>
Thu, 03 Jan 2008 11:29:35 +0100
changeset 2245 42732cd06c68
parent 2244 614282ded8ba
child 2246 3645f5e344a4
go to the next element in search loop
src/core/interface-id-default-value.cc
--- a/src/core/interface-id-default-value.cc	Thu Jan 03 10:37:50 2008 +0100
+++ b/src/core/interface-id-default-value.cc	Thu Jan 03 11:29:35 2008 +0100
@@ -46,6 +46,7 @@
 		  m_name = value;
 		  return true;
 		}
+	      tmp = tmp.GetParent ();
 	    } while (tmp != Object::iid ());
 	  }
 	iid = iid.GetParent ();
@@ -78,6 +79,7 @@
 		  }
 		oss << iid.GetName ();
 	      }
+	    tmp = tmp.GetParent ();
 	  } while (tmp != Object::iid ());
 	}
     }