mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-24 10:34:01 +00:00
Update tinygettext to upstream commit ca0f3ff640. Refs #2522.
Keeps our addition of precompiled.h (fd3d335265), win32/dirent,4c9d99ff68,de6823d23f, and8fc14655b5. This was SVN commit r16168.
This commit is contained in:
+3
-3
@@ -17,7 +17,7 @@
|
||||
|
||||
#include "precompiled.h"
|
||||
|
||||
#include "unix_file_system.hpp"
|
||||
#include "tinygettext/unix_file_system.hpp"
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <fstream>
|
||||
@@ -60,10 +60,10 @@ UnixFileSystem::open_directory(const std::string& pathname)
|
||||
}
|
||||
}
|
||||
|
||||
std::auto_ptr<std::istream>
|
||||
std::unique_ptr<std::istream>
|
||||
UnixFileSystem::open_file(const std::string& filename)
|
||||
{
|
||||
return std::auto_ptr<std::istream>(new std::ifstream(filename.c_str()));
|
||||
return std::unique_ptr<std::istream>(new std::ifstream(filename.c_str()));
|
||||
}
|
||||
|
||||
} // namespace tinygettext
|
||||
|
||||
Reference in New Issue
Block a user