Replaced std::auto_ptr<> with std::unique_ptr<>
[supertux.git] / src / object / camera.hpp
index 7158528..3c53f84 100644 (file)
@@ -110,8 +110,8 @@ private:
   Vector cached_translation;
 
   // autoscroll mode
-  std::auto_ptr<Path> autoscroll_path;
-  std::auto_ptr<PathWalker> autoscroll_walker;
+  std::unique_ptr<Path> autoscroll_path;
+  std::unique_ptr<PathWalker> autoscroll_walker;
 
   // shaking
   Timer shaketimer;