Merge branch 'feature/c++11'
[supertux.git] / src / physfs / physfs_file_system.cpp
index 1575da0..6f11497 100644 (file)
@@ -37,10 +37,10 @@ PhysFSFileSystem::open_directory(const std::string& pathname)
   return files;
 }
 
-std::auto_ptr<std::istream>
+std::unique_ptr<std::istream>
 PhysFSFileSystem::open_file(const std::string& filename)
 {
-  return std::auto_ptr<std::istream>(new IFileStream(filename));
+  return std::unique_ptr<std::istream>(new IFileStream(filename));
 }
 
 /* EOF */