From 3fdca410f4f0932bbca6ea3c053f16bbee354592 Mon Sep 17 00:00:00 2001 From: Ingo Ruhnke Date: Sun, 29 Nov 2009 03:52:11 +0000 Subject: [PATCH] Fixes for g++-4.2 SVN-Revision: 6156 --- src/supertux/collision_hit.hpp | 3 --- src/supertux/game_object.cpp | 1 + 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/supertux/collision_hit.hpp b/src/supertux/collision_hit.hpp index daf9bcfba..ae207d6f6 100644 --- a/src/supertux/collision_hit.hpp +++ b/src/supertux/collision_hit.hpp @@ -58,9 +58,6 @@ public: bool crush; Vector slope_normal; - -private: - CollisionHit(const CollisionHit&); }; #endif diff --git a/src/supertux/game_object.cpp b/src/supertux/game_object.cpp index bb76c99c5..05347abcb 100644 --- a/src/supertux/game_object.cpp +++ b/src/supertux/game_object.cpp @@ -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) -- 2.11.0