Fix crash on ESC press when no music is playing
[supertux.git] / src / object / coin.hpp
index 91f3bcd..205d843 100644 (file)
@@ -37,8 +37,8 @@ public:
   virtual void update(float elapsed_time);
 
 private:
-  boost::shared_ptr<Path> path;
-  boost::shared_ptr<PathWalker> walker;
+  std::shared_ptr<Path> path;
+  std::shared_ptr<PathWalker> walker;
   Vector offset;
   bool from_tilemap;
   Physic physic;
@@ -47,7 +47,6 @@ private:
 class HeavyCoin : public Coin
 {
 public:
-  HeavyCoin(const Vector& pos);
   HeavyCoin(const Vector& pos, const Vector& init_velocity);
   HeavyCoin(const Reader& reader);