From af39f3a084b575d4ab30a95fe8e477169cbbff44 Mon Sep 17 00:00:00 2001 From: KUDr Date: Sat, 21 Jul 2007 12:39:46 +0000 Subject: [PATCH] (svn r10645) -Fix (r10644): file contents seems to be 3x there --- src/misc/countedobj.cpp | 45 ----------------------------------------- 1 file changed, 45 deletions(-) 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; -} -