summaryrefslogtreecommitdiff
path: root/src/being.h
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2008-01-26 19:38:43 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2008-01-26 19:38:43 +0000
commitb58257925cd2af493f9576b0e7579ce5005ae4eb (patch)
tree53fc94f82b3aee4384652ab50400c4bb044780ef /src/being.h
parent662560fe671a54023acb03d4c80dffbf039d2e16 (diff)
downloadmana-client-b58257925cd2af493f9576b0e7579ce5005ae4eb.tar.gz
mana-client-b58257925cd2af493f9576b0e7579ce5005ae4eb.tar.bz2
mana-client-b58257925cd2af493f9576b0e7579ce5005ae4eb.tar.xz
mana-client-b58257925cd2af493f9576b0e7579ce5005ae4eb.zip
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.
Diffstat (limited to 'src/being.h')
-rw-r--r--src/being.h3
1 files changed, 2 insertions, 1 deletions
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 <list>
+#include <memory>
#include <string>
#include <SDL_types.h>
#include <vector>
@@ -355,7 +356,7 @@ class Being : public Sprite
*/
void controlParticle(Particle *particle);
- std::auto_ptr<Equipment> mEquipment;
+ const std::auto_ptr<Equipment> mEquipment;
protected:
/**