diff --git a/src/misc/countedobj.cpp b/src/misc/countedobj.cpp index a965379775..116fa31609 100644 --- a/src/misc/countedobj.cpp +++ b/src/misc/countedobj.cpp @@ -19,48 +19,3 @@ int32 SimpleCountedObject::Release() } return res; } - -/* $Id$ */ - -#include "../stdafx.h" - -#include "countedptr.hpp" - -int32 SimpleCountedObject::AddRef() -{ - return ++m_ref_cnt; -} - -int32 SimpleCountedObject::Release() -{ - int32 res = --m_ref_cnt; - assert(res >= 0); - if (res == 0) { - FinalRelease(); - delete this; - } - return res; -} - -/* $Id$ */ - -#include "../stdafx.h" - -#include "countedptr.hpp" - -int32 SimpleCountedObject::AddRef() -{ - return ++m_ref_cnt; -} - -int32 SimpleCountedObject::Release() -{ - int32 res = --m_ref_cnt; - assert(res >= 0); - if (res == 0) { - FinalRelease(); - delete this; - } - return res; -} -