avoid uneeded inline

This commit is contained in:
Mathieu Lacage
2008-07-08 10:17:18 -07:00
parent 24693d3bbd
commit 11ddb61d96
2 changed files with 7 additions and 7 deletions

View File

@@ -43,4 +43,10 @@ RefCountBase::~RefCountBase ()
{
}
uint32_t
RefCountBase::GetReferenceCount (void) const
{
return m_count;
}
} // namespace ns3

View File

@@ -62,7 +62,7 @@ public:
/**
* 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 @@ RefCountBase::Unref (void) const
}
}
uint32_t
RefCountBase::GetReferenceCount (void) const
{
return m_count;
}
} // namespace ns3
#endif /* __REF_COUNT_BASE_H__*/