From b58257925cd2af493f9576b0e7579ce5005ae4eb Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Sat, 26 Jan 2008 19:38:43 +0000 Subject: Fixed a GCC 4.3 compile error and constified the usage of auto_ptr, since that's the way in which we are using them. --- src/being.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/being.h') diff --git a/src/being.h b/src/being.h index bdcabbdf..62ad7ed1 100644 --- a/src/being.h +++ b/src/being.h @@ -25,6 +25,7 @@ #define _TMW_BEING_H #include +#include #include #include #include @@ -355,7 +356,7 @@ class Being : public Sprite */ void controlParticle(Particle *particle); - std::auto_ptr mEquipment; + const std::auto_ptr mEquipment; protected: /** -- cgit v1.2.3-70-g09d2