(svn r10645) -Fix (r10644): file contents seems to be 3x there
authorKUDr
Sat, 21 Jul 2007 12:39:46 +0000
changeset 7297 4c33fc2d0ed2
parent 7296 84069e62f29d
child 7298 752e4c991b91
(svn r10645) -Fix (r10644): file contents seems to be 3x there
src/misc/countedobj.cpp
--- a/src/misc/countedobj.cpp	Fri Jul 20 18:44:04 2007 +0000
+++ b/src/misc/countedobj.cpp	Sat Jul 21 12:39:46 2007 +0000
@@ -19,48 +19,3 @@
 	}
 	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;
-}
-