Remove unused fsbridge::freopen

This commit is contained in:
practicalswift committed 2018-08-29 16:05:51 +02:00
1 parent cceedbc4bf
commit 75ea00f391
2 files changed
-6

No files matched your search

-5
View File
@@ -14,11 +14,6 @@ FILE *fopen(const fs::path& p, const char *mode)
return ::fopen(p.string().c_str(), mode);
}
FILE *freopen(const fs::path& p, const char *mode, FILE *stream)
{
return ::freopen(p.string().c_str(), mode, stream);
}
#ifndef WIN32
static std::string GetErrorReason() {
-1
View File
@@ -18,7 +18,6 @@ namespace fs = boost::filesystem;
/** Bridge operations to C stdio */
namespace fsbridge {
FILE *fopen(const fs::path& p, const char *mode);
FILE *freopen(const fs::path& p, const char *mode, FILE *stream);
class FileLock
{