Revert unnecessary compatibility change in StdioFileReader.

This commit is contained in:
Tom Finegan 2020-03-04 08:41:40 -08:00
parent b7fb7e5fba
commit 27a329e939

View File

@ -11,7 +11,6 @@
#include <io.h> #include <io.h>
#endif #endif
#include "draco/draco_features.h"
#include "draco/io/file_reader_factory.h" #include "draco/io/file_reader_factory.h"
namespace draco { namespace draco {
@ -47,11 +46,7 @@ std::unique_ptr<FileReaderInterface> StdioFileReader::Open(
return nullptr; return nullptr;
} }
#ifndef DRACO_OLD_GCC
return file; return file;
#else
return std::move(file);
#endif
} }
bool StdioFileReader::ReadFileToBuffer(std::vector<char> *buffer) { bool StdioFileReader::ReadFileToBuffer(std::vector<char> *buffer) {