Use boost::shared_ptr<Surface> instead of std::auto_ptr<Surface>
[supertux.git] / src / object / ghost_particle_system.hpp
index f8cf89b..b8eebb3 100644 (file)
@@ -20,6 +20,7 @@
 #include <memory>
 
 #include "object/particlesystem.hpp"
+#include "video/surface_ptr.hpp"
 
 class GhostParticleSystem : public ParticleSystem
 {
@@ -45,7 +46,7 @@ private:
     {}
   };
 
-  std::auto_ptr<Surface> ghosts[2];
+  SurfacePtr ghosts[2];
 
 private:
   GhostParticleSystem(const GhostParticleSystem&);