Replaced std::auto_ptr<> with std::unique_ptr<>
[supertux.git] / src / badguy / haywire.hpp
index ae944e8..5e4817d 100644 (file)
@@ -33,7 +33,6 @@ public:
 
   void active_update(float elapsed_time);
 
-  void freeze();
   bool is_freezable() const;
 
 protected:
@@ -45,8 +44,8 @@ private:
   bool is_stunned;
   float time_stunned;
   
-  std::auto_ptr<SoundSource> ticking;  
-  std::auto_ptr<SoundSource> grunting;
+  std::unique_ptr<SoundSource> ticking;  
+  std::unique_ptr<SoundSource> grunting;
 };
 
 #endif /* HEADER_SUPERTUX_BADGUY_HAYWIRE_HPP */