Update tinygettext to upstream commit ca0f3ff640. Refs #2522.

Keeps our addition of precompiled.h (fd3d335265), win32/dirent,
4c9d99ff68, de6823d23f, and 8fc14655b5.

This was SVN commit r16168.
This commit is contained in:
leper
2015-01-21 20:37:37 +00:00
parent df3222a073
commit aeb18239c3
18 changed files with 76 additions and 402 deletions
+3 -3
View File
@@ -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