From: grumbel 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=6439a128a74283b5d54d5b74d64b403588d6a12c;p=supertux.git Fixes for g++-4.2 git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6156 837edb03-e0f3-0310-88ca-d4d4e8b29345 --- 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)