Fixes for g++-4.2
authorgrumbel <grumbel@837edb03-e0f3-0310-88ca-d4d4e8b29345>
Sun, 29 Nov 2009 03:52:11 +0000 (03:52 +0000)
committergrumbel <grumbel@837edb03-e0f3-0310-88ca-d4d4e8b29345>
Sun, 29 Nov 2009 03:52:11 +0000 (03:52 +0000)
git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6156 837edb03-e0f3-0310-88ca-d4d4e8b29345

src/supertux/collision_hit.hpp
src/supertux/game_object.cpp

index daf9bcf..ae207d6 100644 (file)
@@ -58,9 +58,6 @@ public:
   bool crush;
 
   Vector slope_normal;
-
-private:
-  CollisionHit(const CollisionHit&);
 };
 
 #endif
index bb76c99..05347ab 100644 (file)
@@ -25,6 +25,7 @@ GameObject::GameObject() :
 }
 
 GameObject::GameObject(const GameObject& rhs) :
+  RefCounter(),
   wants_to_die(rhs.wants_to_die),
   remove_listeners(NULL),
   name(rhs.name)