Made Referenced::ref() and unref() inline methods.

This commit is contained in:
Robert Osfield
2005-02-23 12:50:10 +00:00
parent e2f6dc5bf4
commit 164cb8216c
2 changed files with 42 additions and 4 deletions

View File

@@ -100,7 +100,7 @@ void Referenced::setThreadSafeRefUnref(bool threadSafe)
}
}
/*
void Referenced::ref() const
{
if (_refMutex)
@@ -136,7 +136,7 @@ void Referenced::unref() const
else delete this;
}
}
*/
void Referenced::unref_nodelete() const
{
if (_refMutex)