From: Ingo Ruhnke Date: Sun, 29 Nov 2009 03:52:11 +0000 (+0000) Subject: Fixes for g++-4.2 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=3fdca410f4f0932bbca6ea3c053f16bbee354592;p=supertux.git Fixes for g++-4.2 SVN-Revision: 6156 --- 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)