Replaced std::auto_ptr<> with std::unique_ptr<>
[supertux.git] / src / badguy / dart.hpp
index a76c667..8ba5f2a 100644 (file)
@@ -45,7 +45,7 @@ public:
 
 protected:
   const BadGuy* parent; /**< collisions with this BadGuy will be ignored */
-  std::auto_ptr<SoundSource> sound_source; /**< SoundSource for ambient sound */
+  std::unique_ptr<SoundSource> sound_source; /**< SoundSource for ambient sound */
 
 private:
   Dart(const Dart&);