Pause music when pressing ESC during a level and resume it when exiting the pause...
[supertux.git] / src / object / platform.hpp
index 6c4d827..fa95ef8 100644 (file)
@@ -24,7 +24,7 @@
 /**
  * This class is the base class for platforms that tux can stand on
  */
-class Platform : public MovingSprite, 
+class Platform : public MovingSprite,
                  public ScriptInterface
 {
 public:
@@ -65,8 +65,8 @@ public:
   }
 
 private:
-  std::auto_ptr<Path> path;
-  std::auto_ptr<PathWalker> walker;
+  std::unique_ptr<Path> path;
+  std::unique_ptr<PathWalker> walker;
 
   Vector speed;