summaryrefslogtreecommitdiff
path: root/src/misc
diff options
context:
space:
mode:
authorKUDr <kudr@openttd.org>2007-07-21 12:39:46 +0000
committerKUDr <kudr@openttd.org>2007-07-21 12:39:46 +0000
commitaf39f3a084b575d4ab30a95fe8e477169cbbff44 (patch)
tree088ce581dfcb275ebd06d8c7f6fc8b200a34da62 /src/misc
parent5083f22d1ddddd355d75a3d720fc2f5a3acd12a5 (diff)
downloadopenttd-af39f3a084b575d4ab30a95fe8e477169cbbff44.tar.xz
(svn r10645) -Fix (r10644): file contents seems to be 3x there
Diffstat (limited to 'src/misc')
-rw-r--r--src/misc/countedobj.cpp45
1 files changed, 0 insertions, 45 deletions
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;
-}
-