From af39f3a084b575d4ab30a95fe8e477169cbbff44 Mon Sep 17 00:00:00 2001 From: KUDr Date: Sat, 21 Jul 2007 12:39:46 +0000 Subject: (svn r10645) -Fix (r10644): file contents seems to be 3x there --- src/misc/countedobj.cpp | 45 --------------------------------------------- 1 file changed, 45 deletions(-) (limited to 'src/misc') diff --git a/src/misc/countedobj.cpp b/src/misc/countedobj.cpp index a96537977..116fa3160 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; -} - -- cgit v1.2.3-70-g09d2