avoid uneeded inline
authorMathieu Lacage <mathieu.lacage@sophia.inria.fr>
Tue, 08 Jul 2008 10:17:18 -0700
changeset 3395 3b6bc7a4f975
parent 3394 1680d5004ee8
child 3396 0d83aa14b65d
avoid uneeded inline
src/core/ref-count-base.cc
src/core/ref-count-base.h
--- a/src/core/ref-count-base.cc	Tue Jul 08 10:16:53 2008 -0700
+++ b/src/core/ref-count-base.cc	Tue Jul 08 10:17:18 2008 -0700
@@ -43,4 +43,10 @@
 {
 }
 
+uint32_t
+RefCountBase::GetReferenceCount (void) const
+{
+  return m_count;
+}
+
 } // namespace ns3
--- a/src/core/ref-count-base.h	Tue Jul 08 10:16:53 2008 -0700
+++ b/src/core/ref-count-base.h	Tue Jul 08 10:17:18 2008 -0700
@@ -62,7 +62,7 @@
   /**
    * Get the reference count of the object.  Normally not needed; for language bindings.
    */
-  inline uint32_t GetReferenceCount (void) const;
+  uint32_t GetReferenceCount (void) const;
 
 private:
   // Note we make this mutable so that the const methods can still
@@ -91,12 +91,6 @@
     }
 }
 
-uint32_t
-RefCountBase::GetReferenceCount (void) const
-{
-  return m_count;
-}
-
 } // namespace ns3
 
 #endif /* __REF_COUNT_BASE_H__*/