Fix for coverity #29360
[supertux.git] / src / physfs / physfs_file_system.hpp
index 2fd6e34..edc0053 100644 (file)
@@ -1,5 +1,5 @@
 //  SuperTux
-//  Copyright (C) 2009 Ingo Ruhnke <grumbel@gmx.de>
+//  Copyright (C) 2009 Ingo Ruhnke <grumbel@gmail.com>
 //
 //  This program is free software: you can redistribute it and/or modify
 //  it under the terms of the GNU General Public License as published by
@@ -17,7 +17,7 @@
 #ifndef HEADER_SUPERTUX_PHYSFS_FILE_SYSTEM_HPP
 #define HEADER_SUPERTUX_PHYSFS_FILE_SYSTEM_HPP
 
-#include "tinygettext/file_system.hpp"
+#include <tinygettext/file_system.hpp>
 
 class PhysFSFileSystem : public tinygettext::FileSystem
 {
@@ -25,7 +25,7 @@ public:
   PhysFSFileSystem();
 
   std::vector<std::string>    open_directory(const std::string& pathname);
-  std::auto_ptr<std::istream> open_file(const std::string& filename);
+  std::unique_ptr<std::istream> open_file(const std::string& filename);
 };
 
 #endif