avoid uneeded inline
This commit is contained in:
@@ -43,4 +43,10 @@ RefCountBase::~RefCountBase ()
|
||||
{
|
||||
}
|
||||
|
||||
uint32_t
|
||||
RefCountBase::GetReferenceCount (void) const
|
||||
{
|
||||
return m_count;
|
||||
}
|
||||
|
||||
} // namespace ns3
|
||||
|
||||
@@ -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__*/
|
||||
|
||||
Reference in New Issue
Block a user