return the _current_ tid, not the Object tid.
authorMathieu Lacage <mathieu.lacage@sophia.inria.fr>
Sun, 16 Mar 2008 21:52:15 +0100
changeset 2636 fe664ae9aa8b
parent 2635 cc7bf9195ea0
child 2637 ac94e4889027
return the _current_ tid, not the Object tid.
src/core/object.cc
--- a/src/core/object.cc	Sun Mar 16 21:00:31 2008 +0100
+++ b/src/core/object.cc	Sun Mar 16 21:52:15 2008 +0100
@@ -49,7 +49,7 @@
 TypeId 
 Object::GetInstanceTypeId (void) const
 {
-  return GetTypeId ();
+  return m_tid;
 }
 
 TypeId