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