[Ns-bugs] [Bug 162] Calling Object::AggregateObject twice with the same Object type silently succeeds
bugzilla-daemon@nsnam-www.ece.gatech.edu
bugzilla-daemon at nsnam-www.ece.gatech.edu
Thu Apr 10 10:16:06 PDT 2008
http://www.nsnam.org/bugzilla/show_bug.cgi?id=162
------- Comment #16 from craigdo at ee.washington.edu 2008-04-10 13:16 -------
It doesn't seem worth a patch ...
I can push the following addition to Object::AggregateObject() if it's
aggreable.
if (DoGetObject (o->m_tid))
{
NS_FATAL_ERROR ("Object::AggregateObject(): "
"Multiple aggregation of objects of type " << o->m_tid.GetName ());
}
--
Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the Ns-bugs
mailing list