Use boost::shared_ptr<Surface> instead of std::auto_ptr<Surface>
[supertux.git] / src / object / comet_particle_system.hpp
index f627a05..c38e0b5 100644 (file)
@@ -20,6 +20,7 @@
 #include <memory>
 
 #include "object/particlesystem_interactive.hpp"
+#include "video/surface_ptr.hpp"
 
 class CometParticleSystem : public ParticleSystem_Interactive
 {
@@ -46,7 +47,7 @@ private:
     {}
   };
 
-  std::auto_ptr<Surface> cometimages[2];
+  SurfacePtr cometimages[2];
 
 private:
   CometParticleSystem(const CometParticleSystem&);