aboutsummaryrefslogtreecommitdiff
path: root/src/libjin/Common/Object.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libjin/Common/Object.cpp')
-rw-r--r--src/libjin/Common/Object.cpp32
1 files changed, 0 insertions, 32 deletions
diff --git a/src/libjin/Common/Object.cpp b/src/libjin/Common/Object.cpp
deleted file mode 100644
index 6c3b667..0000000
--- a/src/libjin/Common/Object.cpp
+++ /dev/null
@@ -1,32 +0,0 @@
-// LOVE
-#include "Object.h"
-
-namespace jin
-{
-
- Object::Object()
- : count(1)
- {
- }
-
- Object::~Object()
- {
- }
-
- int Object::getReferenceCount() const
- {
- return count;
- }
-
- void Object::retain()
- {
- ++count;
- }
-
- void Object::release()
- {
- if (--count <= 0)
- delete this;
- }
-
-} // love